Index: Source/core/html/HTMLObjectElement.cpp |
diff --git a/Source/core/html/HTMLObjectElement.cpp b/Source/core/html/HTMLObjectElement.cpp |
index bd68de6aa31c56eee19279961372fcbb09d856c5..0824a5c184ead85232ea979e54d14dbe74ffbec2 100644 |
--- a/Source/core/html/HTMLObjectElement.cpp |
+++ b/Source/core/html/HTMLObjectElement.cpp |
@@ -429,9 +429,7 @@ bool HTMLObjectElement::appendFormData(FormDataList& encoding, bool) |
if (name().isEmpty()) |
return false; |
- // Widget is needed immediately to satisfy cases like |
- // LayoutTests/plugins/form-value.html. |
- Widget* widget = pluginWidgetForJSBindings(); |
+ Widget* widget = pluginWidget(); |
if (!widget || !widget->isPluginView()) |
return false; |
String value; |