| Index: Source/core/html/HTMLPlugInImageElement.cpp
|
| diff --git a/Source/core/html/HTMLPlugInImageElement.cpp b/Source/core/html/HTMLPlugInImageElement.cpp
|
| index 255f21019cd66da9286b2381d43facc200d9284f..59cf8d65cf08e032b38d9f29b5535dd28dc1b83f 100644
|
| --- a/Source/core/html/HTMLPlugInImageElement.cpp
|
| +++ b/Source/core/html/HTMLPlugInImageElement.cpp
|
| @@ -171,7 +171,7 @@ void HTMLPlugInImageElement::detach(const AttachContext& context)
|
| // FIXME: Because of the insanity that is HTMLPlugInImageElement::recalcStyle,
|
| // we can end up detaching during an attach() call, before we even have a
|
| // renderer. In that case, don't mark the widget for update.
|
| - if (attached() && renderer() && !useFallbackContent())
|
| + if (confusingAndOftenMisusedAttached() && renderer() && !useFallbackContent())
|
| // Update the widget the next time we attach (detaching destroys the plugin).
|
| setNeedsWidgetUpdate(true);
|
| HTMLPlugInElement::detach(context);
|
|
|