Index: Source/modules/gamepad/NavigatorGamepad.h |
diff --git a/Source/modules/gamepad/NavigatorGamepad.h b/Source/modules/gamepad/NavigatorGamepad.h |
index 68eb8a0629f7e73484396a41843b88026cdc0c7a..3ea11acc5743923e601610fe809c634c0e3014d0 100644 |
--- a/Source/modules/gamepad/NavigatorGamepad.h |
+++ b/Source/modules/gamepad/NavigatorGamepad.h |
@@ -42,8 +42,9 @@ class Gamepad; |
class GamepadList; |
class Navigator; |
-class MODULES_EXPORT NavigatorGamepad final : public NoBaseWillBeGarbageCollectedFinalized<NavigatorGamepad>, public WillBeHeapSupplement<Navigator>, public DOMWindowProperty, public PlatformEventController, public DOMWindowLifecycleObserver { |
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(NavigatorGamepad); |
+// TODO(Oilpan): when ~DOMWindowProperty is removed, derive from GarbageCollected<> instead. |
haraken
2015/04/24 15:32:36
Can we move these comments to DOMWindowProperty an
sof
2015/04/24 21:25:08
Done; I considered some time ago adding DOMWindowP
|
+class MODULES_EXPORT NavigatorGamepad final : public GarbageCollectedFinalized<NavigatorGamepad>, public HeapSupplement<Navigator>, DOMWindowProperty, public PlatformEventController, public DOMWindowLifecycleObserver { |
+ USING_GARBAGE_COLLECTED_MIXIN(NavigatorGamepad); |
public: |
static NavigatorGamepad* from(Document&); |
static NavigatorGamepad& from(Navigator&); |
@@ -81,8 +82,8 @@ private: |
virtual void didRemoveEventListener(LocalDOMWindow*, const AtomicString&) override; |
virtual void didRemoveAllEventListeners(LocalDOMWindow*) override; |
- PersistentWillBeMember<GamepadList> m_gamepads; |
- PersistentHeapDequeWillBeHeapDeque<Member<Gamepad>> m_pendingEvents; |
+ Member<GamepadList> m_gamepads; |
+ HeapDeque<Member<Gamepad>> m_pendingEvents; |
AsyncMethodRunner<NavigatorGamepad> m_dispatchOneEventRunner; |
haraken
2015/04/24 15:37:17
It seems that AsyncMethodRunner is not safe for la
sof
2015/04/24 15:40:10
You have looked at the comment next to AsyncMethod
haraken
2015/04/24 15:44:44
That is a different issue than the issue mentioned
sof
2015/04/24 15:55:13
Thanks, now I remember the non-local nature of thi
sof
2015/04/24 21:25:08
Addressing this one via https://codereview.chromiu
|
}; |