| 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 c856856417e4aebab1cce45e6c9c79053095bd63..65303926a7e209d1e38c3755cc22594303932ca0 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
|
| @@ -633,8 +633,10 @@ bool HTMLPlugInElement::useFallbackContent() const
|
|
|
| void HTMLPlugInElement::lazyReattachIfNeeded()
|
| {
|
| - if (!useFallbackContent() && needsWidgetUpdate() && layoutObject() && !isImageType())
|
| + if (!useFallbackContent() && needsWidgetUpdate() && layoutObject() && !isImageType()) {
|
| lazyReattachIfAttached();
|
| + setPersistedPluginWidget(nullptr);
|
| + }
|
| }
|
|
|
| } // namespace blink
|
|
|