| Index: Source/core/html/HTMLObjectElement.cpp
|
| diff --git a/Source/core/html/HTMLObjectElement.cpp b/Source/core/html/HTMLObjectElement.cpp
|
| index d481cf5788aa2357c9741bae6d361f4d46c0205b..b9734ecf80e941e75a9754f7b7fe6610b8c27a33 100644
|
| --- a/Source/core/html/HTMLObjectElement.cpp
|
| +++ b/Source/core/html/HTMLObjectElement.cpp
|
| @@ -377,7 +377,7 @@ void HTMLObjectElement::renderFallbackContent()
|
| if (!isImageType()) {
|
| // If we don't think we have an image type anymore, then clear the image from the loader.
|
| m_imageLoader->setImage(0);
|
| - reattach();
|
| + lazyReattach();
|
| return;
|
| }
|
| }
|
| @@ -385,8 +385,7 @@ void HTMLObjectElement::renderFallbackContent()
|
| m_useFallbackContent = true;
|
|
|
| // FIXME: Style gets recalculated which is suboptimal.
|
| - detach();
|
| - attach();
|
| + lazyReattach();
|
| }
|
|
|
| // FIXME: This should be removed, all callers are almost certainly wrong.
|
|
|