Index: Source/core/html/HTMLObjectElement.cpp |
diff --git a/Source/core/html/HTMLObjectElement.cpp b/Source/core/html/HTMLObjectElement.cpp |
index 38797a16826675fe4cba1a1c62dbc55638fa1dd0..ae1142d09e4a874e11cca83054eaf98a40c65cfe 100644 |
--- a/Source/core/html/HTMLObjectElement.cpp |
+++ b/Source/core/html/HTMLObjectElement.cpp |
@@ -97,7 +97,11 @@ void HTMLObjectElement::parseAttribute(const QualifiedName& name, const AtomicSt |
size_t pos = m_serviceType.find(";"); |
if (pos != kNotFound) |
m_serviceType = m_serviceType.left(pos); |
+ // FIXME: What is the right thing to do here? Should we supress the |
+ // reload stuff when a persistable widget-type is specified? |
reloadPluginOnAttributeChange(name); |
+ if (!renderer()) |
+ requestPluginCreationWithoutRendererIfPossible(); |
} else if (name == dataAttr) { |
m_url = stripLeadingAndTrailingHTMLSpaces(value); |
if (renderer() && isImageType()) { |