Index: Source/modules/serviceworkers/ServiceWorkerContainer.cpp |
diff --git a/Source/modules/serviceworkers/ServiceWorkerContainer.cpp b/Source/modules/serviceworkers/ServiceWorkerContainer.cpp |
index 10022e055a2ca4529406476e4ec51fc50c2fc510..532feb2300418e63abe5c433324addc489d65058 100644 |
--- a/Source/modules/serviceworkers/ServiceWorkerContainer.cpp |
+++ b/Source/modules/serviceworkers/ServiceWorkerContainer.cpp |
@@ -379,7 +379,7 @@ void ServiceWorkerContainer::dispatchMessageEvent(WebServiceWorker* serviceWorke |
MessagePortArray* ports = MessagePort::toMessagePortArray(executionContext(), webChannels); |
RefPtr<SerializedScriptValue> value = SerializedScriptValueFactory::instance().createFromWire(message); |
- RefPtrWillBeRawPtr<ServiceWorker> source = ServiceWorker::from(executionContext(), serviceWorker); |
+ ServiceWorker* source = ServiceWorker::from(executionContext(), serviceWorker); |
dispatchEvent(ServiceWorkerMessageEvent::create(ports, value, source, executionContext()->securityOrigin()->toString())); |
} |