| 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 1ce4ec7dbcc0a353c875517c92e24a2012f430cf..c1269317393454dffa9da62f95d05576233f3e96 100644
|
| --- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| @@ -911,11 +911,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
|
|
|