diff options
Diffstat (limited to 'Source/WebCore/html/HTMLPlugInImageElement.cpp')
-rw-r--r-- | Source/WebCore/html/HTMLPlugInImageElement.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/WebCore/html/HTMLPlugInImageElement.cpp b/Source/WebCore/html/HTMLPlugInImageElement.cpp index 515022aad..13e8e3f2f 100644 --- a/Source/WebCore/html/HTMLPlugInImageElement.cpp +++ b/Source/WebCore/html/HTMLPlugInImageElement.cpp @@ -153,6 +153,8 @@ bool HTMLPlugInImageElement::willRecalcStyle(StyleChange) void HTMLPlugInImageElement::attach() { + suspendPostAttachCallbacks(); + bool isImage = isImageType(); if (!isImage) @@ -165,6 +167,8 @@ void HTMLPlugInImageElement::attach() m_imageLoader = adoptPtr(new HTMLImageLoader(this)); m_imageLoader->updateFromElement(); } + + resumePostAttachCallbacks(); } void HTMLPlugInImageElement::detach() |