| Index: Source/modules/serviceworkers/ServiceWorkerClient.cpp
|
| diff --git a/Source/modules/serviceworkers/ServiceWorkerClient.cpp b/Source/modules/serviceworkers/ServiceWorkerClient.cpp
|
| index 044ca3e44f49e78a32bdf1ffb7ea1f58c4c3985b..f0761916bbafac5c1d5a07c2651b0982464fb2da 100644
|
| --- a/Source/modules/serviceworkers/ServiceWorkerClient.cpp
|
| +++ b/Source/modules/serviceworkers/ServiceWorkerClient.cpp
|
| @@ -13,9 +13,9 @@
|
|
|
| namespace blink {
|
|
|
| -PassRefPtrWillBeRawPtr<ServiceWorkerClient> ServiceWorkerClient::create(unsigned id)
|
| +ServiceWorkerClient* ServiceWorkerClient::create(unsigned id)
|
| {
|
| - return adoptRefWillBeNoop(new ServiceWorkerClient(id));
|
| + return new ServiceWorkerClient(id);
|
| }
|
|
|
| ServiceWorkerClient::ServiceWorkerClient(unsigned id)
|
| @@ -24,8 +24,6 @@ ServiceWorkerClient::ServiceWorkerClient(unsigned id)
|
| ScriptWrappable::init(this);
|
| }
|
|
|
| -DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(ServiceWorkerClient);
|
| -
|
| void ServiceWorkerClient::postMessage(ExecutionContext* context, PassRefPtr<SerializedScriptValue> message, const MessagePortArray* ports, ExceptionState& exceptionState)
|
| {
|
| // Disentangle the port in preparation for sending it to the remote context.
|
|
|