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

Unified Diff: trunk/src/webkit/plugins/ppapi/ppapi_plugin_instance.h

Issue 15757007: Revert 202364 "Track NPObject ownership by the originating plugi..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 7 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: trunk/src/webkit/plugins/ppapi/ppapi_plugin_instance.h
===================================================================
--- trunk/src/webkit/plugins/ppapi/ppapi_plugin_instance.h (revision 202368)
+++ trunk/src/webkit/plugins/ppapi/ppapi_plugin_instance.h (working copy)
@@ -58,7 +58,6 @@
#include "webkit/plugins/webkit_plugins_export.h"
struct PP_Point;
-struct _NPP;
class SkBitmap;
class TransportDIB;
@@ -503,10 +502,6 @@
// the given module.
bool IsValidInstanceOf(PluginModule* module);
- // Returns the plugin NPP identifier that this plugin will use to identify
- // itself when making NPObject scripting calls to WebBindings.
- struct _NPP* instanceNPP();
-
private:
friend class PpapiUnittest;
@@ -839,10 +834,6 @@
// calls and handles PPB_ContentDecryptor_Private calls.
scoped_ptr<ContentDecryptorDelegate> content_decryptor_delegate_;
- // Dummy NPP value used when calling in to WebBindings, to allow the bindings
- // to correctly track NPObjects belonging to this plugin instance.
- scoped_ptr<struct _NPP> npp_;
-
friend class PpapiPluginInstanceTest;
DISALLOW_COPY_AND_ASSIGN(PluginInstance);
};
« no previous file with comments | « trunk/src/webkit/plugins/ppapi/plugin_object.cc ('k') | trunk/src/webkit/plugins/ppapi/ppapi_plugin_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698