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

Unified Diff: Source/web/WebBindings.cpp

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 | « no previous file | public/web/WebBindings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebBindings.cpp
diff --git a/Source/web/WebBindings.cpp b/Source/web/WebBindings.cpp
index d9da0cafebcccdb55713ffae7df98f5d73c0f126..73966839e3ce2fd97c0f062224b5856beec8a6e0 100644
--- a/Source/web/WebBindings.cpp
+++ b/Source/web/WebBindings.cpp
@@ -36,6 +36,7 @@
#include "bindings/v8/NPV8Object.h" // for PrivateIdentifier
#include "bindings/v8/ScriptController.h"
#include "bindings/v8/V8DOMWrapper.h"
+#include "bindings/v8/V8NPObject.h"
#include "bindings/v8/V8NPUtils.h"
#include "bindings/v8/custom/V8ArrayBufferCustom.h"
#include "bindings/v8/custom/V8ArrayBufferViewCustom.h"
@@ -182,6 +183,11 @@ void WebBindings::unregisterObject(NPObject* object)
_NPN_UnregisterObject(object);
}
+void WebBindings::dropV8WrapperForObject(NPObject* object)
+{
+ WebCore::forgetV8ObjectForNPObject(object);
+}
+
NPUTF8* WebBindings::utf8FromIdentifier(NPIdentifier identifier)
{
return _NPN_UTF8FromIdentifier(identifier);
« no previous file with comments | « no previous file | public/web/WebBindings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698