| Index: third_party/WebKit/Source/web/WebViewImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| index 05ff38f2f8776437445527b12297ff3c72907a88..c4125b024c931cc5fd14a2513819dc9c6d8420cb 100644
|
| --- a/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| @@ -1158,7 +1158,7 @@ WebInputEventResult WebViewImpl::handleKeyEvent(const WebKeyboardEvent& event) {
|
| // If the plugin supports keyboard focus then we should not send a tab
|
| // keypress event.
|
| FrameViewBase* frameViewBase =
|
| - toLayoutPart(element->layoutObject())->widget();
|
| + toLayoutPart(element->layoutObject())->frameViewBase();
|
| if (frameViewBase && frameViewBase->isPluginContainer()) {
|
| WebPluginContainerImpl* plugin =
|
| toWebPluginContainerImpl(frameViewBase);
|
| @@ -3346,7 +3346,7 @@ void WebViewImpl::performPluginAction(const WebPluginAction& action,
|
|
|
| LayoutObject* object = node->layoutObject();
|
| if (object && object->isLayoutPart()) {
|
| - FrameViewBase* frameViewWidget = toLayoutPart(object)->widget();
|
| + FrameViewBase* frameViewWidget = toLayoutPart(object)->frameViewBase();
|
| if (frameViewWidget && frameViewWidget->isPluginContainer()) {
|
| WebPluginContainerImpl* plugin =
|
| toWebPluginContainerImpl(frameViewWidget);
|
|
|