| Index: Source/core/html/HTMLPlugInImageElement.cpp
|
| diff --git a/Source/core/html/HTMLPlugInImageElement.cpp b/Source/core/html/HTMLPlugInImageElement.cpp
|
| index 8c782ef47c552c55cdf9b44267b9aa1a4a60f82b..622dbc28b1f6355a22c7fa81bab7f41a03923d35 100644
|
| --- a/Source/core/html/HTMLPlugInImageElement.cpp
|
| +++ b/Source/core/html/HTMLPlugInImageElement.cpp
|
| @@ -159,7 +159,7 @@ void HTMLPlugInImageElement::willRecalcStyle(StyleChange)
|
| reattach();
|
| }
|
|
|
| -void HTMLPlugInImageElement::attach()
|
| +void HTMLPlugInImageElement::attach(const AttachContext& context)
|
| {
|
| PostAttachCallbackDisabler disabler(this);
|
|
|
| @@ -168,7 +168,7 @@ void HTMLPlugInImageElement::attach()
|
| if (!isImage)
|
| queuePostAttachCallback(&HTMLPlugInImageElement::updateWidgetCallback, this);
|
|
|
| - HTMLPlugInElement::attach();
|
| + HTMLPlugInElement::attach(context);
|
|
|
| if (isImage && renderer() && !useFallbackContent()) {
|
| if (!m_imageLoader)
|
| @@ -177,7 +177,7 @@ void HTMLPlugInImageElement::attach()
|
| }
|
| }
|
|
|
| -void HTMLPlugInImageElement::detach()
|
| +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
|
| @@ -185,7 +185,7 @@ void HTMLPlugInImageElement::detach()
|
| if (attached() && renderer() && !useFallbackContent())
|
| // Update the widget the next time we attach (detaching destroys the plugin).
|
| setNeedsWidgetUpdate(true);
|
| - HTMLPlugInElement::detach();
|
| + HTMLPlugInElement::detach(context);
|
| }
|
|
|
| void HTMLPlugInImageElement::updateWidgetIfNecessary()
|
|
|