Index: content/child/npapi/plugin_instance.cc |
diff --git a/content/child/npapi/plugin_instance.cc b/content/child/npapi/plugin_instance.cc |
index da53c91167d9c13bbb00fd868104f0e5b49a994a..8121930cac5f101c43dc93d1d93004362e2d35f5 100644 |
--- a/content/child/npapi/plugin_instance.cc |
+++ b/content/child/npapi/plugin_instance.cc |
@@ -89,19 +89,6 @@ bool PluginInstance::Start(const GURL& url, |
return err == NPERR_NO_ERROR; |
} |
-bool PluginInstance::GetFormValue(base::string16* value) { |
- // Plugins will allocate memory for the return value by using NPN_MemAlloc(). |
- char *plugin_value = NULL; |
- NPError error = NPP_GetValue(NPPVformValue, &plugin_value); |
- if (error != NPERR_NO_ERROR || !plugin_value) { |
- return false; |
- } |
- // Assumes the result is UTF8 text, as Firefox does. |
- *value = base::UTF8ToUTF16(plugin_value); |
- host_->host_functions()->memfree(plugin_value); |
- return true; |
-} |
- |
unsigned PluginInstance::GetBackingTextureId() { |
// By default the plugin instance is not backed by an OpenGL texture. |
return 0; |