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

Unified Diff: Source/bindings/tests/results/V8TestSpecialOperationsOverrideBuiltins.h

Issue 176963017: Remove WrapperWorldType from V8 binding (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
Index: Source/bindings/tests/results/V8TestSpecialOperationsOverrideBuiltins.h
diff --git a/Source/bindings/tests/results/V8TestSpecialOperationsOverrideBuiltins.h b/Source/bindings/tests/results/V8TestSpecialOperationsOverrideBuiltins.h
index 5bdeecf7b8fa8ae62b962d4da129143c73b3c4f7..ae683c8834064e5f221f8abfc5c81513dcffcd2e 100644
--- a/Source/bindings/tests/results/V8TestSpecialOperationsOverrideBuiltins.h
+++ b/Source/bindings/tests/results/V8TestSpecialOperationsOverrideBuiltins.h
@@ -45,7 +45,7 @@ class V8TestSpecialOperationsOverrideBuiltins {
public:
static bool hasInstance(v8::Handle<v8::Value>, v8::Isolate*);
static v8::Handle<v8::Object> findInstanceInPrototypeChain(v8::Handle<v8::Value>, v8::Isolate*);
- static v8::Handle<v8::FunctionTemplate> domTemplate(v8::Isolate*, WrapperWorldType);
+ static v8::Handle<v8::FunctionTemplate> domTemplate(v8::Isolate*);
static TestSpecialOperationsOverrideBuiltins* toNative(v8::Handle<v8::Object> object)
{
return fromInternalPointer(object->GetAlignedPointerFromInternalField(v8DOMWrapperObjectIndex));
@@ -104,7 +104,7 @@ inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestSpecialOperat
template<typename CallbackInfo>
inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, TestSpecialOperationsOverrideBuiltins* impl)
{
- ASSERT(worldType(callbackInfo.GetIsolate()) == MainWorld);
+ ASSERT(DOMWrapperWorld::current(callbackInfo.GetIsolate())->isMainWorld());
if (UNLIKELY(!impl)) {
v8SetReturnValueNull(callbackInfo);
return;

Powered by Google App Engine
This is Rietveld 408576698