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

Unified Diff: Source/bindings/core/v8/NPV8Object.h

Issue 456683002: bindings: Introduces type-check for the internal pointers. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 years, 4 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/bindings/core/v8/DOMWrapperMap.h ('k') | Source/bindings/core/v8/NPV8Object.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/NPV8Object.h
diff --git a/Source/bindings/core/v8/NPV8Object.h b/Source/bindings/core/v8/NPV8Object.h
index 5c99ca20350aa681e07b916dffd31846355fa8f9..9be5e8e08f00ce17836b12ab6ad28f722841d481 100644
--- a/Source/bindings/core/v8/NPV8Object.h
+++ b/Source/bindings/core/v8/NPV8Object.h
@@ -41,6 +41,7 @@
namespace blink {
class LocalDOMWindow;
+class ScriptWrappableBase;
static const int npObjectInternalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
@@ -73,6 +74,8 @@ bool isWrappedNPObject(v8::Handle<v8::Object>);
V8NPObject* npObjectToV8NPObject(NPObject*);
+ScriptWrappableBase* npObjectToInternalPointer(NPObject*);
+
void disposeUnderlyingV8Object(NPObject*, v8::Isolate*);
} // namespace blink
« no previous file with comments | « Source/bindings/core/v8/DOMWrapperMap.h ('k') | Source/bindings/core/v8/NPV8Object.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698