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

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

Issue 384633002: Oilpan: add transition types to remaining Fetch and ServiceWorker objects (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Another rebase Created 6 years, 5 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/ServiceWorkerClients.h
diff --git a/Source/modules/serviceworkers/ServiceWorkerClients.h b/Source/modules/serviceworkers/ServiceWorkerClients.h
index 46a9c167549c7d30712b6f5d5290724b3df76a05..f6bb3334d71246d45418b2fc161dadce3abb5795 100644
--- a/Source/modules/serviceworkers/ServiceWorkerClients.h
+++ b/Source/modules/serviceworkers/ServiceWorkerClients.h
@@ -6,6 +6,7 @@
#define ServiceWorkerClients_h
#include "bindings/core/v8/ScriptWrappable.h"
+#include "platform/heap/Handle.h"
#include "public/platform/WebServiceWorkerClientsInfo.h"
#include "wtf/Forward.h"
@@ -16,14 +17,16 @@ class ExecutionContext;
class ScriptState;
class ScriptPromise;
-class ServiceWorkerClients FINAL : public RefCounted<ServiceWorkerClients>, public ScriptWrappable {
+class ServiceWorkerClients FINAL : public RefCountedWillBeGarbageCollected<ServiceWorkerClients>, public ScriptWrappable {
+ DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(ServiceWorkerClients);
public:
- static PassRefPtr<ServiceWorkerClients> create();
- ~ServiceWorkerClients();
+ static PassRefPtrWillBeRawPtr<ServiceWorkerClients> create();
// ServiceWorkerClients.idl
ScriptPromise getServiced(ScriptState*);
+ void trace(Visitor*) { }
+
private:
ServiceWorkerClients();
};
« no previous file with comments | « Source/modules/serviceworkers/ResponseInit.h ('k') | Source/modules/serviceworkers/ServiceWorkerClients.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698