Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1314)

Unified Diff: Source/modules/serviceworkers/ServiceWorkerClient.cpp

Issue 478693005: Oilpan: Ship Oilpan for serviceworkers/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.
« no previous file with comments | « Source/modules/serviceworkers/ServiceWorkerClient.h ('k') | Source/modules/serviceworkers/ServiceWorkerClient.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698