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

Unified Diff: Source/core/html/HTMLObjectElement.cpp

Issue 301353005: Remove hasFallbackContent from RenderEmbeddedObject. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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/core/html/HTMLObjectElement.h ('k') | Source/core/html/HTMLPlugInElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
}
« no previous file with comments | « Source/core/html/HTMLObjectElement.h ('k') | Source/core/html/HTMLPlugInElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698