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

Unified Diff: third_party/WebKit/Source/modules/device_orientation/DeviceMotionDispatcher.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/device_orientation/DeviceMotionDispatcher.cpp
diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceMotionDispatcher.cpp b/third_party/WebKit/Source/modules/device_orientation/DeviceMotionDispatcher.cpp
index a896982bdb9cb56de8f2bcea53843334374c186d..3e4d8fc95390dd3b4f620cd1ecd9c24deeefd920 100644
--- a/third_party/WebKit/Source/modules/device_orientation/DeviceMotionDispatcher.cpp
+++ b/third_party/WebKit/Source/modules/device_orientation/DeviceMotionDispatcher.cpp
@@ -59,12 +59,12 @@ DEFINE_TRACE(DeviceMotionDispatcher)
void DeviceMotionDispatcher::startListening()
{
- Platform::current()->startListening(WebPlatformEventDeviceMotion, this);
+ Platform::current()->startListening(WebPlatformEventTypeDeviceMotion, this);
}
void DeviceMotionDispatcher::stopListening()
{
- Platform::current()->stopListening(WebPlatformEventDeviceMotion);
+ Platform::current()->stopListening(WebPlatformEventTypeDeviceMotion);
m_lastDeviceMotionData.clear();
}

Powered by Google App Engine
This is Rietveld 408576698