| Index: third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp b/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
|
| index bfbb296012feaaade90c4753de4f57ca1b2d254c..139cff415c15afbd9c1dc5acd55d4e4f767287b9 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
|
| @@ -159,7 +159,7 @@ bool HTMLPlugInElement::willRespondToMouseClickEvents() {
|
| void HTMLPlugInElement::removeAllEventListeners() {
|
| HTMLFrameOwnerElement::removeAllEventListeners();
|
| if (LayoutPart* layoutObject = existingLayoutPart()) {
|
| - if (FrameViewBase* frameViewBase = layoutObject->widget())
|
| + if (FrameViewBase* frameViewBase = layoutObject->frameViewBase())
|
| frameViewBase->eventListenersRemoved();
|
| }
|
| }
|
| @@ -341,7 +341,7 @@ SharedPersistent<v8::Object>* HTMLPlugInElement::pluginWrapper() {
|
|
|
| FrameViewBase* HTMLPlugInElement::pluginWidget() const {
|
| if (LayoutPart* layoutPart = layoutPartForJSBindings())
|
| - return layoutPart->widget();
|
| + return layoutPart->frameViewBase();
|
| return nullptr;
|
| }
|
|
|
| @@ -394,7 +394,7 @@ void HTMLPlugInElement::defaultEventHandler(Event* event) {
|
| .showsUnavailablePluginIndicator())
|
| return;
|
| }
|
| - FrameViewBase* frameViewBase = toLayoutPart(r)->widget();
|
| + FrameViewBase* frameViewBase = toLayoutPart(r)->frameViewBase();
|
| if (!frameViewBase)
|
| return;
|
| frameViewBase->handleEvent(event);
|
|
|