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

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: Remove some redundant includes 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..0974d55d36d9a525514754cd84972c4b127e839c 100644
--- a/Source/modules/serviceworkers/ServiceWorkerContainer.h
+++ b/Source/modules/serviceworkers/ServiceWorkerContainer.h
@@ -43,8 +43,6 @@
#include "platform/heap/Handle.h"
#include "public/platform/modules/serviceworker/WebServiceWorkerProviderClient.h"
#include "wtf/Forward.h"
-#include "wtf/PassRefPtr.h"
-#include "wtf/RefPtr.h"
namespace blink {
@@ -68,7 +66,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 +93,7 @@ private:
ReadyProperty* createReadyProperty();
WebServiceWorkerProvider* m_provider;
- RefPtrWillBeMember<ServiceWorker> m_controller;
+ Member<ServiceWorker> m_controller;
Member<ReadyProperty> m_ready;
};
« no previous file with comments | « Source/modules/serviceworkers/ServiceWorker.idl ('k') | Source/modules/serviceworkers/ServiceWorkerContainer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698