Commit 65dad565 authored by ap@apple.com's avatar ap@apple.com

Build fix.

        * UIProcess/API/mac/WKView.mm: (-[WKView keyDown:]): It's not "event" in this function, it's
        "theEvent".



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82150 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 6bee139d
2011-03-28 Alexey Proskuryakov <ap@apple.com>
Build fix.
* UIProcess/API/mac/WKView.mm: (-[WKView keyDown:]): It's not "event" in this function, it's
"theEvent".
2011-03-28 Alexey Proskuryakov <ap@apple.com>
Reviewed by Darin Adler.
......
......@@ -1127,7 +1127,7 @@ static const short kIOHIDEventTypeScroll = 6;
// There's a chance that responding to this event will run a nested event loop, and
// fetching a new event might release the old one. Retaining and then autoreleasing
// the current event prevents that from causing a problem inside WebKit or AppKit code.
[[event retain] autorelease];
[[theEvent retain] autorelease];
if (_data->_pluginComplexTextInputIdentifier) {
// Try feeding the keyboard event directly to the plug-in.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment