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

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

Issue 478693005: Oilpan: Ship Oilpan for serviceworkers/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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/ServiceWorkerRegistration.h
diff --git a/Source/modules/serviceworkers/ServiceWorkerRegistration.h b/Source/modules/serviceworkers/ServiceWorkerRegistration.h
index 5d15289f999a257dc4138cc462abac5f43e216e7..00a24013fa0a7902fbfed85e34933ae5a9d2fac5 100644
--- a/Source/modules/serviceworkers/ServiceWorkerRegistration.h
+++ b/Source/modules/serviceworkers/ServiceWorkerRegistration.h
@@ -23,11 +23,11 @@ class ScriptState;
class WebServiceWorkerProvider;
class ServiceWorkerRegistration FINAL
- : public RefCountedWillBeRefCountedGarbageCollected<ServiceWorkerRegistration>
+ : public RefCountedGarbageCollected<ServiceWorkerRegistration>
, public ActiveDOMObject
, public EventTargetWithInlineData
, public WebServiceWorkerRegistrationProxy {
- REFCOUNTED_EVENT_TARGET(ServiceWorkerRegistration);
+ DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollected<ServiceWorkerRegistration>);
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(ServiceWorkerRegistration);
public:
virtual ~ServiceWorkerRegistration() { }
@@ -44,7 +44,7 @@ public:
// For CallbackPromiseAdapter.
typedef WebServiceWorkerRegistration WebType;
- static PassRefPtrWillBeRawPtr<ServiceWorkerRegistration> take(ScriptPromiseResolver*, WebType* registration);
+ static ServiceWorkerRegistration* take(ScriptPromiseResolver*, WebType* registration);
static void dispose(WebType* registration);
PassRefPtrWillBeRawPtr<ServiceWorker> installing() { return m_installing.get(); }
@@ -60,7 +60,7 @@ public:
virtual void trace(Visitor*) OVERRIDE;
private:
- static PassRefPtrWillBeRawPtr<ServiceWorkerRegistration> getOrCreate(ExecutionContext*, WebServiceWorkerRegistration*);
+ static ServiceWorkerRegistration* getOrCreate(ExecutionContext*, WebServiceWorkerRegistration*);
ServiceWorkerRegistration(ExecutionContext*, PassOwnPtr<WebServiceWorkerRegistration>);
// ActiveDOMObject overrides.

Powered by Google App Engine
This is Rietveld 408576698