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 |