Index: Source/modules/gamepad/NavigatorGamepad.cpp |
diff --git a/Source/modules/gamepad/NavigatorGamepad.cpp b/Source/modules/gamepad/NavigatorGamepad.cpp |
index f677c55d80edb8eee6d5a2db40e1eb2cf730b1fd..da673b646a5e1ba1ae19c48255b51b6896e334da 100644 |
--- a/Source/modules/gamepad/NavigatorGamepad.cpp |
+++ b/Source/modules/gamepad/NavigatorGamepad.cpp |
@@ -59,10 +59,12 @@ static void sampleGamepads(GamepadList* into) |
NavigatorGamepad::NavigatorGamepad() |
{ |
+ blink::Platform::current()->resumeGamepads(); |
} |
NavigatorGamepad::~NavigatorGamepad() |
{ |
+ blink::Platform::current()->pauseGamepads(); |
scottmg
2014/02/06 20:46:23
I don't think the renderer should be telling the b
|
} |
const char* NavigatorGamepad::supplementName() |