Index: third_party/WebKit/Source/modules/gamepad/GamepadDispatcher.cpp |
diff --git a/third_party/WebKit/Source/modules/gamepad/GamepadDispatcher.cpp b/third_party/WebKit/Source/modules/gamepad/GamepadDispatcher.cpp |
index 4071455670e0c29f7d5a3c560c100e9a28157c47..0f3d7f0d3c57cc79ce4732908cb375e2472dd85e 100644 |
--- a/third_party/WebKit/Source/modules/gamepad/GamepadDispatcher.cpp |
+++ b/third_party/WebKit/Source/modules/gamepad/GamepadDispatcher.cpp |
@@ -57,12 +57,12 @@ void GamepadDispatcher::dispatchDidConnectOrDisconnectGamepad(unsigned index, co |
void GamepadDispatcher::startListening() |
{ |
- Platform::current()->startListening(WebPlatformEventGamepad, this); |
+ Platform::current()->startListening(WebPlatformEventTypeGamepad, this); |
} |
void GamepadDispatcher::stopListening() |
{ |
- Platform::current()->stopListening(WebPlatformEventGamepad); |
+ Platform::current()->stopListening(WebPlatformEventTypeGamepad); |
} |
} // namespace blink |