Index: Source/bindings/tests/results/core/V8TestInterface.cpp |
diff --git a/Source/bindings/tests/results/core/V8TestInterface.cpp b/Source/bindings/tests/results/core/V8TestInterface.cpp |
index 72bc91507076e2018d3fea10d45d84502a47e888..549116b0a2391f88354b5a149509c5e3c94c569e 100644 |
--- a/Source/bindings/tests/results/core/V8TestInterface.cpp |
+++ b/Source/bindings/tests/results/core/V8TestInterface.cpp |
@@ -1167,7 +1167,7 @@ static void promiseMethodPartialOverload2Method(const v8::FunctionCallbackInfo<v |
v8SetReturnValue(info, ScriptPromise::rejectRaw(info.GetIsolate(), V8ThrowException::createTypeError(info.GetIsolate(), ExceptionMessages::failedToExecute("promiseMethodPartialOverload", "TestInterface", "parameter 1 is not of type 'Window'.")))); |
return; |
} |
- window = toDOMWindow(info[0], info.GetIsolate()); |
+ window = toDOMWindow(info.GetIsolate(), info[0]); |
} |
v8SetReturnValue(info, impl->promiseMethodPartialOverload(window).v8Value()); |
} |