Index: Source/modules/gamepad/NavigatorGamepad.h |
diff --git a/Source/modules/gamepad/NavigatorGamepad.h b/Source/modules/gamepad/NavigatorGamepad.h |
index 521424a409f91f03b3518a80cd58aacd2a2834c2..edb8efa8fe679a17ceffc918fc38fb0f8dd930eb 100644 |
--- a/Source/modules/gamepad/NavigatorGamepad.h |
+++ b/Source/modules/gamepad/NavigatorGamepad.h |
@@ -38,7 +38,6 @@ namespace blink { |
class Document; |
class Gamepad; |
-class GamepadList; |
class Navigator; |
class NavigatorGamepad final : public NoBaseWillBeGarbageCollectedFinalized<NavigatorGamepad>, public WillBeHeapSupplement<Navigator>, public DOMWindowProperty, public PlatformEventController, public DOMWindowLifecycleObserver { |
@@ -48,8 +47,8 @@ public: |
static NavigatorGamepad& from(Navigator&); |
virtual ~NavigatorGamepad(); |
- static GamepadList* getGamepads(Navigator&); |
- GamepadList* gamepads(); |
+ static HeapVector<Member<Gamepad>> getGamepads(Navigator&); |
+ HeapVector<Member<Gamepad>> getGamepads(); |
virtual void trace(Visitor*); |
@@ -80,7 +79,7 @@ private: |
virtual void didRemoveEventListener(LocalDOMWindow*, const AtomicString&) override; |
virtual void didRemoveAllEventListeners(LocalDOMWindow*) override; |
- PersistentWillBeMember<GamepadList> m_gamepads; |
+ //PersistentWillBeMember<GamepadList> m_gamepads; |
PersistentHeapDequeWillBeHeapDeque<Member<Gamepad>> m_pendingEvents; |
AsyncMethodRunner<NavigatorGamepad> m_dispatchOneEventRunner; |
}; |