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

Unified Diff: third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationDispatcher.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/screen_orientation/ScreenOrientationDispatcher.cpp
diff --git a/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationDispatcher.cpp b/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationDispatcher.cpp
index 33fc5ff2ebf37ce8ab329dd4037adb666675601f..90dfc569ec4726cd31610fb2f45220091be06551 100644
--- a/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationDispatcher.cpp
+++ b/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationDispatcher.cpp
@@ -26,12 +26,12 @@ DEFINE_TRACE(ScreenOrientationDispatcher)
void ScreenOrientationDispatcher::startListening()
{
- Platform::current()->startListening(WebPlatformEventScreenOrientation, 0);
+ Platform::current()->startListening(WebPlatformEventTypeScreenOrientation, 0);
}
void ScreenOrientationDispatcher::stopListening()
{
- Platform::current()->stopListening(WebPlatformEventScreenOrientation);
+ Platform::current()->stopListening(WebPlatformEventTypeScreenOrientation);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698