Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1161)

Unified Diff: third_party/WebKit/Source/modules/gamepad/GamepadDispatcher.cpp

Issue 1414573003: Rename enums in WebPlatformEventType.h to follow blink style (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698