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

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

Issue 302263004: Oilpan: Move [WillBeGarbageCollected] from Node to EventTarget. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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/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()

Powered by Google App Engine
This is Rietveld 408576698