| Index: Source/modules/serviceworkers/ServiceWorkerContainer.cpp
|
| diff --git a/Source/modules/serviceworkers/ServiceWorkerContainer.cpp b/Source/modules/serviceworkers/ServiceWorkerContainer.cpp
|
| index daa6211147cc4f3f73877e14b68dcda802e08368..de303bdd0bf4f82395dc551d46bed571962cab29 100644
|
| --- a/Source/modules/serviceworkers/ServiceWorkerContainer.cpp
|
| +++ b/Source/modules/serviceworkers/ServiceWorkerContainer.cpp
|
| @@ -35,6 +35,7 @@
|
| #include "bindings/core/v8/ScriptPromiseResolver.h"
|
| #include "bindings/core/v8/ScriptState.h"
|
| #include "bindings/core/v8/SerializedScriptValue.h"
|
| +#include "bindings/core/v8/SerializedScriptValueFactory.h"
|
| #include "core/dom/DOMException.h"
|
| #include "core/dom/ExceptionCode.h"
|
| #include "core/dom/ExecutionContext.h"
|
| @@ -266,7 +267,7 @@ void ServiceWorkerContainer::dispatchMessageEvent(const WebString& message, cons
|
| return;
|
|
|
| OwnPtrWillBeRawPtr<MessagePortArray> ports = MessagePort::toMessagePortArray(executionContext(), webChannels);
|
| - RefPtr<SerializedScriptValue> value = SerializedScriptValue::createFromWire(message);
|
| + RefPtr<SerializedScriptValue> value = SerializedScriptValueFactory::instance().createFromWire(message);
|
| executionContext()->executingWindow()->dispatchEvent(MessageEvent::create(ports.release(), value));
|
| }
|
|
|
|
|