Index: Source/core/testing/Internals.cpp |
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
index 8e54bbc3d2a6d6311b9a293ae5a91a1bc147b3bc..c1a2f7cd18590bd4990e8c1a788abbbeb2b556be 100644 |
--- a/Source/core/testing/Internals.cpp |
+++ b/Source/core/testing/Internals.cpp |
@@ -33,6 +33,7 @@ |
#include "bindings/core/v8/ScriptPromise.h" |
#include "bindings/core/v8/ScriptPromiseResolver.h" |
#include "bindings/core/v8/SerializedScriptValue.h" |
+#include "bindings/core/v8/SerializedScriptValueFactory.h" |
#include "bindings/core/v8/V8ThrowException.h" |
#include "core/InternalRuntimeFlags.h" |
#include "core/animation/AnimationTimeline.h" |
@@ -1997,7 +1998,7 @@ PassRefPtr<DOMArrayBuffer> Internals::serializeObject(PassRefPtr<SerializedScrip |
PassRefPtr<SerializedScriptValue> Internals::deserializeBuffer(PassRefPtr<DOMArrayBuffer> buffer) const |
{ |
String value(static_cast<const UChar*>(buffer->data()), buffer->byteLength() / sizeof(UChar)); |
- return SerializedScriptValue::createFromWire(value); |
+ return SerializedScriptValueFactory::instance().createFromWire(value); |
} |
void Internals::forceReload(bool endToEnd) |