Index: Source/modules/gamepad/NavigatorGamepad.cpp |
diff --git a/Source/modules/gamepad/NavigatorGamepad.cpp b/Source/modules/gamepad/NavigatorGamepad.cpp |
index a6627256e2ed276552551bd68c2ecfe8c020ccf2..37b2d01e449cbc6c1a7b819278fd3dc9579b6684 100644 |
--- a/Source/modules/gamepad/NavigatorGamepad.cpp |
+++ b/Source/modules/gamepad/NavigatorGamepad.cpp |
@@ -128,6 +128,7 @@ void NavigatorGamepad::trace(Visitor* visitor) |
visitor->trace(m_webkitGamepads); |
visitor->trace(m_pendingEvents); |
WillBeHeapSupplement<Navigator>::trace(visitor); |
+ DOMWindowProperty::trace(visitor); |
} |
void NavigatorGamepad::didUpdateData() |
@@ -180,6 +181,9 @@ NavigatorGamepad::NavigatorGamepad(LocalFrame* frame) |
NavigatorGamepad::~NavigatorGamepad() |
{ |
+#if ENABLE(OILPAN) |
+ stopUpdating(); |
haraken
2014/09/10 02:49:36
Why is this necessary only in oilpan?
sof
2014/09/10 05:49:40
Can't rely on willDestroyGlobalObjectInFrame() hav
|
+#endif |
} |
const char* NavigatorGamepad::supplementName() |