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

Unified Diff: Source/bindings/v8/V8PerIsolateData.h

Issue 125043004: Remove world type from hasInstance() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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/v8/V8NPObject.cpp ('k') | Source/bindings/v8/V8PerIsolateData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/V8PerIsolateData.h
diff --git a/Source/bindings/v8/V8PerIsolateData.h b/Source/bindings/v8/V8PerIsolateData.h
index 5a35088e53154ae8cdec59e58dc51d854ec6812e..15416658723957d386f7a3caa73aafa0ee7ce7aa 100644
--- a/Source/bindings/v8/V8PerIsolateData.h
+++ b/Source/bindings/v8/V8PerIsolateData.h
@@ -127,7 +127,8 @@ public:
v8::Handle<v8::FunctionTemplate> privateTemplateIfExists(WrapperWorldType, void* privatePointer);
void setPrivateTemplate(WrapperWorldType, void* privatePointer, v8::Handle<v8::FunctionTemplate>);
- bool hasInstance(const WrapperTypeInfo*, v8::Handle<v8::Value>, WrapperWorldType);
+ bool hasInstanceInMainWorld(const WrapperTypeInfo*, v8::Handle<v8::Value>);
+ bool hasInstanceInNonMainWorld(const WrapperTypeInfo*, v8::Handle<v8::Value>);
v8::Local<v8::Context> ensureRegexContext();
@@ -137,6 +138,7 @@ public:
private:
explicit V8PerIsolateData(v8::Isolate*);
~V8PerIsolateData();
+ bool hasInstance(const WrapperTypeInfo*, v8::Handle<v8::Value>, TemplateMap&);
static void constructorOfToString(const v8::FunctionCallbackInfo<v8::Value>&);
v8::Isolate* m_isolate;
« no previous file with comments | « Source/bindings/v8/V8NPObject.cpp ('k') | Source/bindings/v8/V8PerIsolateData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698