Index: Source/bindings/core/v8/custom/V8PopStateEventCustom.cpp |
diff --git a/Source/bindings/core/v8/custom/V8PopStateEventCustom.cpp b/Source/bindings/core/v8/custom/V8PopStateEventCustom.cpp |
index 1b2d570f5210d4eb0030fdd3177fd29a8c293919..c7a2fc8e0949960deb2d35afea756f8ba25151e6 100644 |
--- a/Source/bindings/core/v8/custom/V8PopStateEventCustom.cpp |
+++ b/Source/bindings/core/v8/custom/V8PopStateEventCustom.cpp |
@@ -63,7 +63,7 @@ void V8PopStateEvent::stateAttributeGetterCustom(const v8::PropertyCallbackInfo< |
// we need to find the 'state' property on the main world wrapper and clone it. |
v8::Local<v8::Value> mainWorldState = V8HiddenValue::getHiddenValueFromMainWorldWrapper(info.GetIsolate(), event, V8HiddenValue::state(info.GetIsolate())); |
if (!mainWorldState.IsEmpty()) |
- event->setSerializedState(SerializedScriptValue::createAndSwallowExceptions(mainWorldState, info.GetIsolate())); |
+ event->setSerializedState(SerializedScriptValue::createAndSwallowExceptions(info.GetIsolate(), mainWorldState)); |
} |
if (event->serializedState()) |
result = event->serializedState()->deserialize(); |