Index: Source/core/html/HTMLObjectElement.cpp |
diff --git a/Source/core/html/HTMLObjectElement.cpp b/Source/core/html/HTMLObjectElement.cpp |
index a7e34dfee0ec436fc23165b459013f212569105a..e76b602af6438140d97b4cc9569855e66c0254f1 100644 |
--- a/Source/core/html/HTMLObjectElement.cpp |
+++ b/Source/core/html/HTMLObjectElement.cpp |
@@ -100,6 +100,8 @@ void HTMLObjectElement::parseAttribute(const QualifiedName& name, const AtomicSt |
m_serviceType = m_serviceType.left(pos); |
if (renderer()) |
setNeedsWidgetUpdate(true); |
+ else |
+ requestPluginCreationWithoutRendererIfPossible(); |
} else if (name == dataAttr) { |
m_url = stripLeadingAndTrailingHTMLSpaces(value); |
if (renderer()) { |
@@ -426,7 +428,7 @@ bool HTMLObjectElement::appendFormData(FormDataList& encoding, bool) |
if (name().isEmpty()) |
return false; |
- Widget* widget = pluginWidget(); |
+ Widget* widget = this->widget(); |
if (!widget || !widget->isPluginView()) |
return false; |
String value; |