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

Unified Diff: Source/modules/serviceworkers/Client.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
« no previous file with comments | « Source/bindings/modules/v8/DictionaryHelperForModules.cpp ('k') | Source/modules/serviceworkers/Client.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/Client.h
diff --git a/Source/modules/serviceworkers/Client.h b/Source/modules/serviceworkers/Client.h
index b4360003d145c112ab4810d5f337dcd7438f76e6..3bba27666c3100c78473bb5cb084ca1a10ff8900 100644
--- a/Source/modules/serviceworkers/Client.h
+++ b/Source/modules/serviceworkers/Client.h
@@ -7,19 +7,22 @@
#include "bindings/core/v8/ScriptWrappable.h"
#include "bindings/core/v8/SerializedScriptValue.h"
+#include "platform/heap/Handle.h"
#include "wtf/Forward.h"
namespace WebCore {
-class Client FINAL : public RefCounted<Client>, public ScriptWrappable {
+class Client FINAL : public RefCountedWillBeGarbageCollected<Client>, public ScriptWrappable {
+ DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(Client);
public:
- static PassRefPtr<Client> create(unsigned id);
- ~Client();
+ static PassRefPtrWillBeRawPtr<Client> create(unsigned id);
// Client.idl
unsigned id() const { return m_id; }
void postMessage(ExecutionContext*, PassRefPtr<SerializedScriptValue> message, const MessagePortArray*, ExceptionState&);
+ void trace(Visitor*) { }
+
private:
explicit Client(unsigned id);
« no previous file with comments | « Source/bindings/modules/v8/DictionaryHelperForModules.cpp ('k') | Source/modules/serviceworkers/Client.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698