| Index: Source/WebKit/chromium/src/WebViewImpl.cpp
|
| ===================================================================
|
| --- Source/WebKit/chromium/src/WebViewImpl.cpp (revision 96257)
|
| +++ Source/WebKit/chromium/src/WebViewImpl.cpp (working copy)
|
| @@ -654,7 +654,7 @@
|
| if (WebInputEvent::RawKeyDown == event.type) {
|
| // Suppress the next keypress event unless the focused node is a plug-in node.
|
| // (Flash needs these keypress events to handle non-US keyboards.)
|
| - Node* node = frame->document()->focusedNode();
|
| + Node* node = focusedWebCoreNode();
|
| if (!node || !node->renderer() || !node->renderer()->isEmbeddedObject())
|
| m_suppressNextKeypressEvent = true;
|
| }
|
|
|