Index: trunk/Source/core/html/HTMLObjectElement.cpp |
=================================================================== |
--- trunk/Source/core/html/HTMLObjectElement.cpp (revision 151673) |
+++ trunk/Source/core/html/HTMLObjectElement.cpp (working copy) |
@@ -370,7 +370,7 @@ |
if (!isImageType()) { |
// If we don't think we have an image type anymore, then clear the image from the loader. |
m_imageLoader->setImage(0); |
- lazyReattach(); |
+ reattach(); |
return; |
} |
} |
@@ -378,7 +378,8 @@ |
m_useFallbackContent = true; |
// FIXME: Style gets recalculated which is suboptimal. |
- lazyReattach(); |
+ detach(); |
+ attach(); |
} |
// FIXME: This should be removed, all callers are almost certainly wrong. |