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

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

Issue 302263004: Oilpan: Move [WillBeGarbageCollected] from Node to EventTarget. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update bindings test files 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.h
diff --git a/Source/modules/serviceworkers/ServiceWorkerContainer.h b/Source/modules/serviceworkers/ServiceWorkerContainer.h
index 3863f17a5e1dfabb99424e18074ca380293c9e36..a63a9bf766861bc63325e3a620a13723d0f4a6da 100644
--- a/Source/modules/serviceworkers/ServiceWorkerContainer.h
+++ b/Source/modules/serviceworkers/ServiceWorkerContainer.h
@@ -67,7 +67,7 @@ public:
ScriptPromise registerServiceWorker(ExecutionContext*, const String& pattern, const Dictionary&);
ScriptPromise unregisterServiceWorker(ExecutionContext*, const String& scope = String());
- PassRefPtr<ServiceWorker> controller() { return m_controller; }
+ PassRefPtrWillBeRawPtr<ServiceWorker> controller() { return m_controller.get(); }
// WebServiceWorkerProviderClient overrides.
virtual void setController(blink::WebServiceWorker*) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698