| Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.cpp
|
| diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.cpp b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.cpp
|
| index 0ae84e243a33f07d7f30eaef2f923d9989aa0871..68943ef9e2c60390a1a487ec33321eeccd0b6ce9 100644
|
| --- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.cpp
|
| +++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.cpp
|
| @@ -398,7 +398,7 @@ void ServiceWorkerContainer::dispatchMessageEvent(std::unique_ptr<WebServiceWork
|
| return;
|
|
|
| MessagePortArray* ports = MessagePort::toMessagePortArray(getExecutionContext(), webChannels);
|
| - RefPtr<SerializedScriptValue> value = SerializedScriptValueFactory::instance().createFromWire(message);
|
| + RefPtr<SerializedScriptValue> value = SerializedScriptValue::create(message);
|
| ServiceWorker* source = ServiceWorker::from(getExecutionContext(), adoptPtr(handle.release()));
|
| dispatchEvent(ServiceWorkerMessageEvent::create(ports, value, source, getExecutionContext()->getSecurityOrigin()->toString()));
|
| }
|
|
|