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

Unified Diff: Source/modules/gamepad/NavigatorGamepad.h

Issue 204063002: Oilpan: add transition types to Navigator and its supplements. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Adjust use of 'virtual' Created 6 years, 9 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/modules/donottrack/NavigatorDoNotTrack.cpp ('k') | Source/modules/gamepad/NavigatorGamepad.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/gamepad/NavigatorGamepad.h
diff --git a/Source/modules/gamepad/NavigatorGamepad.h b/Source/modules/gamepad/NavigatorGamepad.h
index 0de60e243802ca9260f0b41096ec7b8a3896e46a..456b96a6bfa2ef33a3f62ca09a598ab4b20f0e44 100644
--- a/Source/modules/gamepad/NavigatorGamepad.h
+++ b/Source/modules/gamepad/NavigatorGamepad.h
@@ -36,7 +36,8 @@ class GamepadList;
class Navigator;
class WebKitGamepadList;
-class NavigatorGamepad FINAL : public Supplement<Navigator> {
+class NavigatorGamepad FINAL : public NoBaseWillBeGarbageCollectedFinalized<NavigatorGamepad>, public WillBeHeapSupplement<Navigator> {
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(NavigatorGamepad);
public:
virtual ~NavigatorGamepad();
static NavigatorGamepad& from(Navigator&);
@@ -47,12 +48,14 @@ public:
WebKitGamepadList* webkitGamepads();
GamepadList* gamepads();
+ virtual void trace(Visitor*);
+
private:
NavigatorGamepad();
static const char* supplementName();
- RefPtrWillBePersistent<GamepadList> m_gamepads;
- RefPtrWillBePersistent<WebKitGamepadList> m_webkitGamepads;
+ RefPtrWillBeMember<GamepadList> m_gamepads;
+ RefPtrWillBeMember<WebKitGamepadList> m_webkitGamepads;
};
} // namespace WebCore
« no previous file with comments | « Source/modules/donottrack/NavigatorDoNotTrack.cpp ('k') | Source/modules/gamepad/NavigatorGamepad.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698