Index: Source/modules/serviceworkers/Client.cpp |
diff --git a/Source/modules/serviceworkers/Client.cpp b/Source/modules/serviceworkers/Client.cpp |
index 5ea1ffa47f5a1b7e2cfded60e5100a3fcaf37c7e..50ecdbeb0ebfe3b1b18f11cefb3534d1e7de2b7a 100644 |
--- a/Source/modules/serviceworkers/Client.cpp |
+++ b/Source/modules/serviceworkers/Client.cpp |
@@ -13,9 +13,9 @@ |
namespace WebCore { |
-PassRefPtr<Client> Client::create(unsigned id) |
+PassRefPtrWillBeRawPtr<Client> Client::create(unsigned id) |
{ |
- return adoptRef(new Client(id)); |
+ return adoptRefWillBeNoop(new Client(id)); |
} |
Client::Client(unsigned id) |
@@ -24,9 +24,7 @@ Client::Client(unsigned id) |
ScriptWrappable::init(this); |
} |
-Client::~Client() |
-{ |
-} |
+DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(Client); |
void Client::postMessage(ExecutionContext* context, PassRefPtr<SerializedScriptValue> message, const MessagePortArray* ports, ExceptionState& exceptionState) |
{ |