| Index: third_party/WebKit/Source/web/WebNode.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebNode.cpp b/third_party/WebKit/Source/web/WebNode.cpp
|
| index c9f1b44feed0689cca15575e4489d784d5f01d9f..6c1b8e2ab62c123f1dc3b0d11ab9831249f3e906 100644
|
| --- a/third_party/WebKit/Source/web/WebNode.cpp
|
| +++ b/third_party/WebKit/Source/web/WebNode.cpp
|
| @@ -186,9 +186,9 @@ WebPluginContainer* WebNode::pluginContainerFromNode(const Node* node) {
|
|
|
| LayoutObject* object = node->layoutObject();
|
| if (object && object->isLayoutPart()) {
|
| - FrameViewBase* frameViewBase = toLayoutPart(object)->frameViewBase();
|
| - if (frameViewBase && frameViewBase->isPluginContainer())
|
| - return toWebPluginContainerImpl(frameViewBase);
|
| + PluginView* plugin = toLayoutPart(object)->plugin();
|
| + if (plugin && plugin->isPluginContainer())
|
| + return toWebPluginContainerImpl(plugin);
|
| }
|
|
|
| return nullptr;
|
|
|