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

Unified Diff: public/web/WebBindings.h

Issue 289473008: Export WebCore::forgetV8ObjectForNPObject (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | « Source/web/WebBindings.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebBindings.h
diff --git a/public/web/WebBindings.h b/public/web/WebBindings.h
index a83120a52824cbba4a8bfa63175e95c645dbf39c..494e73610d23cdf0299d9b4e479eab75dfe2bf9c 100644
--- a/public/web/WebBindings.h
+++ b/public/web/WebBindings.h
@@ -135,6 +135,11 @@ public:
// _NPN_UnregisterObject
BLINK_EXPORT static void unregisterObject(NPObject*);
+ // Unlike unregisterObject, only drops the V8 wrapper object,
+ // not touching the NPObject itself, except for decrementing
+ // its references counter.
+ BLINK_EXPORT static void dropV8WrapperForObject(NPObject*);
+
// NPN_UTF8FromIdentifier
BLINK_EXPORT static NPUTF8* utf8FromIdentifier(NPIdentifier);
« no previous file with comments | « Source/web/WebBindings.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698