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

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

Issue 1844383003: Remove NPAPI support for form data (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
Index: third_party/WebKit/Source/core/html/HTMLObjectElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLObjectElement.cpp b/third_party/WebKit/Source/core/html/HTMLObjectElement.cpp
index 28ffcd99004142fd8fbe956ca8cc26993d575bb5..7d04d02372b6bafd016d4f2c21d2b14ff273b2d3 100644
--- a/third_party/WebKit/Source/core/html/HTMLObjectElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLObjectElement.cpp
@@ -421,19 +421,6 @@ void HTMLObjectElement::didMoveToNewDocument(Document& oldDocument)
HTMLPlugInElement::didMoveToNewDocument(oldDocument);
}
-void HTMLObjectElement::appendToFormData(FormData& formData)
-{
- if (name().isEmpty())
- return;
-
- Widget* widget = pluginWidget();
- if (!widget || !widget->isPluginView())
- return;
- String value;
- if (toPluginView(widget)->getFormValue(value))
- formData.append(name(), value);
-}
-
HTMLFormElement* HTMLObjectElement::formOwner() const
{
return FormAssociatedElement::form();
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLObjectElement.h ('k') | third_party/WebKit/Source/core/plugins/PluginView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698