Index: Source/bindings/core/v8/custom/V8CustomEventCustom.cpp |
diff --git a/Source/bindings/core/v8/custom/V8CustomEventCustom.cpp b/Source/bindings/core/v8/custom/V8CustomEventCustom.cpp |
index 8a566575045c13d37246830af73af2f3ace9fcac..29f8d8e26a8d1a0f09c99721ac89f69890f91410 100644 |
--- a/Source/bindings/core/v8/custom/V8CustomEventCustom.cpp |
+++ b/Source/bindings/core/v8/custom/V8CustomEventCustom.cpp |
@@ -43,7 +43,7 @@ |
namespace blink { |
-static v8::Local<v8::Value> cacheState(v8::Local<v8::Object> customEvent, v8::Local<v8::Value> detail, v8::Isolate* isolate) |
+static v8::Local<v8::Value> cacheState(v8::Isolate* isolate, v8::Local<v8::Object> customEvent, v8::Local<v8::Value> detail) |
{ |
V8HiddenValue::setHiddenValue(isolate, customEvent, V8HiddenValue::detail(isolate), detail); |
return detail; |
@@ -71,11 +71,11 @@ void V8CustomEvent::detailAttributeGetterCustom(const v8::PropertyCallbackInfo<v |
if (event->serializedDetail()) { |
result = event->serializedDetail()->deserialize(); |
- v8SetReturnValue(info, cacheState(info.Holder(), result, info.GetIsolate())); |
+ v8SetReturnValue(info, cacheState(info.GetIsolate(), info.Holder(), result)); |
return; |
} |
- v8SetReturnValue(info, cacheState(info.Holder(), v8::Null(info.GetIsolate()), info.GetIsolate())); |
+ v8SetReturnValue(info, cacheState(info.GetIsolate(), info.Holder(), v8::Null(info.GetIsolate()))); |
} |
void V8CustomEvent::initCustomEventMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info) |