Index: Source/modules/serviceworkers/ServiceWorkerContainer.cpp |
diff --git a/Source/modules/serviceworkers/ServiceWorkerContainer.cpp b/Source/modules/serviceworkers/ServiceWorkerContainer.cpp |
index cd0c219d9ce70fb16a6d7dd1d9c442c263cf7566..5c1180b33eb9c7b3f92b021de733d882ccf9779b 100644 |
--- a/Source/modules/serviceworkers/ServiceWorkerContainer.cpp |
+++ b/Source/modules/serviceworkers/ServiceWorkerContainer.cpp |
@@ -56,9 +56,9 @@ using blink::WebServiceWorkerProvider; |
namespace WebCore { |
-PassRefPtr<ServiceWorkerContainer> ServiceWorkerContainer::create(ExecutionContext* executionContext) |
+PassRefPtrWillBeRawPtr<ServiceWorkerContainer> ServiceWorkerContainer::create(ExecutionContext* executionContext) |
{ |
- return adoptRef(new ServiceWorkerContainer(executionContext)); |
+ return adoptRefWillBeRefCountedGarbageCollected(new ServiceWorkerContainer(executionContext)); |
} |
ServiceWorkerContainer::~ServiceWorkerContainer() |