Index: Source/bindings/core/v8/custom/V8WindowCustom.cpp |
diff --git a/Source/bindings/core/v8/custom/V8WindowCustom.cpp b/Source/bindings/core/v8/custom/V8WindowCustom.cpp |
index 4c613dd51c7b494bebfb027ab4aa1a05f3f91dc0..561f365c266f81d672823b938fcabdaf3fef4121 100644 |
--- a/Source/bindings/core/v8/custom/V8WindowCustom.cpp |
+++ b/Source/bindings/core/v8/custom/V8WindowCustom.cpp |
@@ -38,6 +38,7 @@ |
#include "bindings/core/v8/ScriptController.h" |
#include "bindings/core/v8/ScriptSourceCode.h" |
#include "bindings/core/v8/SerializedScriptValue.h" |
+#include "bindings/core/v8/SerializedScriptValueFactory.h" |
#include "bindings/core/v8/V8Binding.h" |
#include "bindings/core/v8/V8EventListener.h" |
#include "bindings/core/v8/V8EventListenerList.h" |
@@ -281,7 +282,7 @@ void V8Window::postMessageMethodCustom(const v8::FunctionCallbackInfo<v8::Value> |
} |
TOSTRING_VOID(V8StringResource<TreatNullAndUndefinedAsNullString>, targetOrigin, info[targetOriginArgIndex]); |
- RefPtr<SerializedScriptValue> message = SerializedScriptValue::create(info[0], &portArray, &arrayBufferArray, exceptionState, info.GetIsolate()); |
+ RefPtr<SerializedScriptValue> message = SerializedScriptValueFactory::factory().create(info[0], &portArray, &arrayBufferArray, exceptionState, info.GetIsolate()); |
if (exceptionState.throwIfNeeded()) |
return; |