Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(279)

Unified Diff: Source/WebCore/html/HTMLPlugInImageElement.cpp

Issue 9963064: Merge 112051 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1025/
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebCore/dom/ContainerNode.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/html/HTMLPlugInImageElement.cpp
===================================================================
--- Source/WebCore/html/HTMLPlugInImageElement.cpp (revision 112906)
+++ Source/WebCore/html/HTMLPlugInImageElement.cpp (working copy)
@@ -153,6 +153,8 @@
void HTMLPlugInImageElement::attach()
{
+ suspendPostAttachCallbacks();
+
bool isImage = isImageType();
if (!isImage)
@@ -165,6 +167,8 @@
m_imageLoader = adoptPtr(new HTMLImageLoader(this));
m_imageLoader->updateFromElement();
}
+
+ resumePostAttachCallbacks();
}
void HTMLPlugInImageElement::detach()
« no previous file with comments | « Source/WebCore/dom/ContainerNode.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698