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

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

Issue 1212643004: [Oilpan] Apply RefCountedGarbageCollectedEventTarget on AbstractWorker (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add comment Created 5 years, 4 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 6484728dc72c20ecb111d1ee9fe4ca4d7b34858e..dbc1742f146eb1a70134e0224d8010c32fb501bf 100644
--- a/Source/modules/serviceworkers/ServiceWorkerContainer.h
+++ b/Source/modules/serviceworkers/ServiceWorkerContainer.h
@@ -68,7 +68,7 @@ public:
DECLARE_VIRTUAL_TRACE();
- PassRefPtrWillBeRawPtr<ServiceWorker> controller() { return m_controller.get(); }
+ ServiceWorker* controller() { return m_controller; }
ScriptPromise ready(ScriptState*);
WebServiceWorkerProvider* provider() { return m_provider; }
@@ -95,7 +95,7 @@ private:
ReadyProperty* createReadyProperty();
WebServiceWorkerProvider* m_provider;
- RefPtrWillBeMember<ServiceWorker> m_controller;
+ Member<ServiceWorker> m_controller;
Member<ReadyProperty> m_ready;
};

Powered by Google App Engine
This is Rietveld 408576698