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

Unified Diff: content/common/npobject_stub.h

Issue 9817023: Make sure the plugin scriptable object is released before NPP_Destroy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Restore parameter missed during rebase. Created 8 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 | « no previous file | content/plugin/webplugin_delegate_stub.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/npobject_stub.h
diff --git a/content/common/npobject_stub.h b/content/common/npobject_stub.h
index 9b64ce8f75e7e6875a01e7dd28966da7f2b1fbe2..4eb568318da6863348fdf0e44e89032a5dc1e507 100644
--- a/content/common/npobject_stub.h
+++ b/content/common/npobject_stub.h
@@ -41,7 +41,8 @@ class NPObjectStub : public IPC::Channel::Listener,
// Schedules tear-down of this stub. The underlying NPObject reference is
// released, and further invokations form the IPC channel will fail once this
// call has returned. Deletion of the stub is deferred to the main loop, in
- // case it is touched as the stack unwinds.
+ // case it is touched as the stack unwinds. DeleteSoon() is safe to call
+ // more than once, until control returns to the main loop.
void DeleteSoon();
// IPC::Message::Sender implementation:
« no previous file with comments | « no previous file | content/plugin/webplugin_delegate_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698