Index: Source/bindings/core/v8/V8Initializer.cpp |
diff --git a/Source/bindings/core/v8/V8Initializer.cpp b/Source/bindings/core/v8/V8Initializer.cpp |
index 9c20ad6f444c1415e4d75c494341d507beca1d85..85c6490a218cf15bbced8933c3c327681a7312d7 100644 |
--- a/Source/bindings/core/v8/V8Initializer.cpp |
+++ b/Source/bindings/core/v8/V8Initializer.cpp |
@@ -66,7 +66,7 @@ |
namespace blink { |
-static Frame* findFrame(v8::Local<v8::Object> host, v8::Local<v8::Value> data, v8::Isolate* isolate) |
+static Frame* findFrame(v8::Isolate* isolate, v8::Local<v8::Object> host, v8::Local<v8::Value> data) |
{ |
const WrapperTypeInfo* type = WrapperTypeInfo::unwrap(data); |
@@ -295,7 +295,7 @@ static void promiseRejectHandlerInWorker(v8::PromiseRejectMessage data) |
static void failedAccessCheckCallbackInMainThread(v8::Local<v8::Object> host, v8::AccessType type, v8::Local<v8::Value> data) |
{ |
v8::Isolate* isolate = v8::Isolate::GetCurrent(); |
- Frame* target = findFrame(host, data, isolate); |
+ Frame* target = findFrame(isolate, host, data); |
if (!target) |
return; |
DOMWindow* targetWindow = target->domWindow(); |