| Index: third_party/WebKit/Source/web/EditorClientImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/EditorClientImpl.cpp b/third_party/WebKit/Source/web/EditorClientImpl.cpp
|
| index 80b7a2ff31cf2caf14f968f9cdc1fbb6aeb2383a..5a5a9969fdd182d337d977fef5b8cc8b53dad901 100644
|
| --- a/third_party/WebKit/Source/web/EditorClientImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/EditorClientImpl.cpp
|
| @@ -73,9 +73,10 @@ bool EditorClientImpl::canPaste(LocalFrame* frame, bool defaultValue) const
|
| return webFrame->contentSettingsClient()->allowReadFromClipboard(defaultValue);
|
| }
|
|
|
| -bool EditorClientImpl::handleKeyboardEvent()
|
| +bool EditorClientImpl::handleKeyboardEvent(LocalFrame* frame)
|
| {
|
| - return m_webView->client() && m_webView->client()->handleCurrentKeyboardEvent();
|
| + WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(frame);
|
| + return webFrame->client()->handleCurrentKeyboardEvent();
|
| }
|
|
|
| } // namespace blink
|
|
|