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

Unified Diff: third_party/WebKit/Source/modules/device_orientation/DeviceOrientationDispatcher.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/DeviceOrientationDispatcher.cpp
diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationDispatcher.cpp b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationDispatcher.cpp
index 0647e5f798b6ec4c72b374fb19f5b38b0f5046c6..bc997d8ed10ca7c0df767df68fb103c5d4dfd657 100644
--- a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationDispatcher.cpp
+++ b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationDispatcher.cpp
@@ -59,12 +59,12 @@ DEFINE_TRACE(DeviceOrientationDispatcher)
void DeviceOrientationDispatcher::startListening()
{
- Platform::current()->startListening(WebPlatformEventDeviceOrientation, this);
+ Platform::current()->startListening(WebPlatformEventTypeDeviceOrientation, this);
}
void DeviceOrientationDispatcher::stopListening()
{
- Platform::current()->stopListening(WebPlatformEventDeviceOrientation);
+ Platform::current()->stopListening(WebPlatformEventTypeDeviceOrientation);
m_lastDeviceOrientationData.clear();
}

Powered by Google App Engine
This is Rietveld 408576698