| Index: third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| index f4c83cddb21457c89230e6b0d516a08e79a0c785..4cfdc748e587645c22a9ba00c3dcce07f54da2f4 100644
|
| --- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| @@ -909,11 +909,11 @@ WebInputEventResult WebFrameWidgetImpl::keyEventDefault(const WebKeyboardEvent&
|
| switch (event.windowsKeyCode) {
|
| #if !OS(MACOSX)
|
| case 'A':
|
| - WebFrame::fromFrame(focusedCoreFrame())->executeCommand(WebString::fromUTF8("SelectAll"));
|
| + WebFrame::fromFrame(focusedCoreFrame())->toWebLocalFrame()->executeCommand(WebString::fromUTF8("SelectAll"));
|
| return WebInputEventResult::HandledSystem;
|
| case VKEY_INSERT:
|
| case 'C':
|
| - WebFrame::fromFrame(focusedCoreFrame())->executeCommand(WebString::fromUTF8("Copy"));
|
| + WebFrame::fromFrame(focusedCoreFrame())->toWebLocalFrame()->executeCommand(WebString::fromUTF8("Copy"));
|
| return WebInputEventResult::HandledSystem;
|
| #endif
|
| // Match FF behavior in the sense that Ctrl+home/end are the only Ctrl
|
|
|