| 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 52f9c00f4f41453913967507eb2907a84714e51e..8f6b0c971926021cadefbd87bfb8ef19a226dbf8 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
|
| @@ -223,7 +223,7 @@ void HTMLPlugInElement::updateWidget()
|
| }
|
| }
|
|
|
| -void HTMLPlugInElement::removedFrom(ContainerNode* insertionPoint)
|
| +void HTMLPlugInElement::removedFrom(ContainerNode* insertionPoint, Node* next)
|
| {
|
| // If we've persisted the plugin and we're removed from the tree then
|
| // make sure we cleanup the persistance pointer.
|
| @@ -231,7 +231,7 @@ void HTMLPlugInElement::removedFrom(ContainerNode* insertionPoint)
|
| HTMLFrameOwnerElement::UpdateSuspendScope suspendWidgetHierarchyUpdates;
|
| setPersistedPluginWidget(nullptr);
|
| }
|
| - HTMLFrameOwnerElement::removedFrom(insertionPoint);
|
| + HTMLFrameOwnerElement::removedFrom(insertionPoint, next);
|
| }
|
|
|
| void HTMLPlugInElement::requestPluginCreationWithoutLayoutObjectIfPossible()
|
|
|