Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainerClient.cpp |
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainerClient.cpp b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainerClient.cpp |
index 0a008227c0ccc20db77200489e8454b52b52159a..f5defc34dd52d90b4d5ceb59c960d3a8b9e9ca4f 100644 |
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainerClient.cpp |
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainerClient.cpp |
@@ -37,16 +37,16 @@ ServiceWorkerContainerClient* ServiceWorkerContainerClient::from(ExecutionContex |
if (context->isWorkerGlobalScope()) { |
WorkerClients* clients = toWorkerGlobalScope(context)->clients(); |
ASSERT(clients); |
- return static_cast<ServiceWorkerContainerClient*>(HeapSupplement<WorkerClients>::from(clients, supplementName())); |
+ return static_cast<ServiceWorkerContainerClient*>(Supplement<WorkerClients>::from(clients, supplementName())); |
} |
Document* document = toDocument(context); |
if (!document->frame()) |
return nullptr; |
- ServiceWorkerContainerClient* client = static_cast<ServiceWorkerContainerClient*>(HeapSupplement<Document>::from(document, supplementName())); |
+ ServiceWorkerContainerClient* client = static_cast<ServiceWorkerContainerClient*>(Supplement<Document>::from(document, supplementName())); |
if (!client) { |
client = new ServiceWorkerContainerClient(document->frame()->loader().client()->createServiceWorkerProvider()); |
- HeapSupplement<Document>::provideTo(*document, supplementName(), client); |
+ Supplement<Document>::provideTo(*document, supplementName(), client); |
} |
return client; |
} |