Index: Source/core/html/HTMLObjectElement.cpp |
diff --git a/Source/core/html/HTMLObjectElement.cpp b/Source/core/html/HTMLObjectElement.cpp |
index 326eb083d1c9b011f678538bea34b96f01df3701..6d5ed1c1a44f4d345707fa0a3e84a016fe5b708c 100644 |
--- a/Source/core/html/HTMLObjectElement.cpp |
+++ b/Source/core/html/HTMLObjectElement.cpp |
@@ -326,9 +326,6 @@ void HTMLObjectElement::updateWidgetInternal() |
return; |
} |
- bool fallbackContent = hasFallbackContent(); |
- renderEmbeddedObject()->setHasFallbackContent(fallbackContent); |
- |
// FIXME: Is it possible to get here without a renderer now that we don't have beforeload events? |
if (!renderer()) |
return; |
@@ -336,7 +333,7 @@ void HTMLObjectElement::updateWidgetInternal() |
if (!hasValidClassId() || !requestObject(url, serviceType, paramNames, paramValues)) { |
if (!url.isEmpty()) |
dispatchErrorEvent(); |
- if (fallbackContent) |
+ if (hasFallbackContent()) |
renderFallbackContent(); |
} |
} |