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

Unified Diff: trunk/src/content/renderer/browser_plugin/browser_plugin_bindings.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
Index: trunk/src/content/renderer/browser_plugin/browser_plugin_bindings.cc
===================================================================
--- trunk/src/content/renderer/browser_plugin/browser_plugin_bindings.cc (revision 202368)
+++ trunk/src/content/renderer/browser_plugin/browser_plugin_bindings.cc (working copy)
@@ -817,8 +817,7 @@
np_object_(NULL),
weak_ptr_factory_(this) {
NPObject* obj =
- WebBindings::createObject(instance->pluginNPP(),
- &browser_plugin_message_class);
+ WebBindings::createObject(NULL, &browser_plugin_message_class);
np_object_ = static_cast<BrowserPluginBindings::BrowserPluginNPObject*>(obj);
np_object_->message_channel = weak_ptr_factory_.GetWeakPtr();
« no previous file with comments | « trunk/src/content/renderer/browser_plugin/browser_plugin.cc ('k') | trunk/src/content/renderer/webplugin_delegate_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698