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

Unified Diff: content/child/npapi/plugin_instance.cc

Issue 1483733002: Remove support for NPObjects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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
« no previous file with comments | « content/child/npapi/plugin_instance.h ('k') | content/child/npapi/webplugin.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/npapi/plugin_instance.cc
diff --git a/content/child/npapi/plugin_instance.cc b/content/child/npapi/plugin_instance.cc
index 3e9808e9d444cf4a2da5703f8c2e4eed8601402c..da53c91167d9c13bbb00fd868104f0e5b49a994a 100644
--- a/content/child/npapi/plugin_instance.cc
+++ b/content/child/npapi/plugin_instance.cc
@@ -89,14 +89,6 @@ bool PluginInstance::Start(const GURL& url,
return err == NPERR_NO_ERROR;
}
-NPObject *PluginInstance::GetPluginScriptableObject() {
- NPObject *value = NULL;
- NPError error = NPP_GetValue(NPPVpluginScriptableNPObject, &value);
- if (error != NPERR_NO_ERROR || value == NULL)
- return NULL;
- return value;
-}
-
bool PluginInstance::GetFormValue(base::string16* value) {
// Plugins will allocate memory for the return value by using NPN_MemAlloc().
char *plugin_value = NULL;
« no previous file with comments | « content/child/npapi/plugin_instance.h ('k') | content/child/npapi/webplugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698