Index: Source/bindings/tests/results/V8TestCallbackInterface.cpp |
diff --git a/Source/bindings/tests/results/V8TestCallbackInterface.cpp b/Source/bindings/tests/results/V8TestCallbackInterface.cpp |
index 0a586bb51c77dafea6dcec83aef274be64f75cff..b7eacbeaedd438f02c4f17cd65ef88f64215a506 100644 |
--- a/Source/bindings/tests/results/V8TestCallbackInterface.cpp |
+++ b/Source/bindings/tests/results/V8TestCallbackInterface.cpp |
@@ -186,7 +186,6 @@ void V8TestCallbackInterface::callbackWithThisValueVoidMethodStringArg(ScriptVal |
CRASH(); |
return; |
} |
- ASSERT(thisHandle->IsObject()); |
v8::Handle<v8::Value> stringArgHandle = v8String(isolate, stringArg); |
if (stringArgHandle.IsEmpty()) { |
if (!isScriptControllerTerminating()) |
@@ -195,7 +194,7 @@ void V8TestCallbackInterface::callbackWithThisValueVoidMethodStringArg(ScriptVal |
} |
v8::Handle<v8::Value> argv[] = { stringArgHandle }; |
- invokeCallback(m_scriptState.get(), m_callback.newLocal(isolate), v8::Handle<v8::Object>::Cast(thisHandle), 1, argv); |
+ invokeCallback(m_scriptState.get(), m_callback.newLocal(isolate), thisHandle, 1, argv); |
} |
void V8TestCallbackInterface::voidMethodWillBeGarbageCollectedSequenceArg(const WillBeHeapVector<RefPtrWillBeMember<TestInterfaceWillBeGarbageCollected> >& sequenceArg) |