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

Unified Diff: trunk/src/content/renderer/webplugin_delegate_proxy.cc

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
« no previous file with comments | « trunk/src/content/renderer/webplugin_delegate_proxy.h ('k') | trunk/src/webkit/glue/cpp_bound_class.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/content/renderer/webplugin_delegate_proxy.cc
===================================================================
--- trunk/src/content/renderer/webplugin_delegate_proxy.cc (revision 202368)
+++ trunk/src/content/renderer/webplugin_delegate_proxy.cc (working copy)
@@ -212,7 +212,6 @@
mime_type_(mime_type),
instance_id_(MSG_ROUTING_NONE),
npobject_(NULL),
- npp_(new NPP_t),
sad_plugin_(NULL),
invalidate_pending_(false),
transparent_(false),
@@ -744,11 +743,6 @@
return WebBindings::retainObject(npobject_);
}
-NPP WebPluginDelegateProxy::GetPluginNPP() {
- // Return a dummy NPP for WebKit to use to identify this plugin.
- return npp_.get();
-}
-
bool WebPluginDelegateProxy::GetFormValue(string16* value) {
bool success = false;
Send(new PluginMsg_GetFormValue(instance_id_, value, &success));
« no previous file with comments | « trunk/src/content/renderer/webplugin_delegate_proxy.h ('k') | trunk/src/webkit/glue/cpp_bound_class.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698