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

Unified Diff: Source/modules/screen_orientation/ScreenOrientationController.cpp

Issue 219463003: Screen Orientation API: cleanup, simplify and fix implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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: Source/modules/screen_orientation/ScreenOrientationController.cpp
diff --git a/Source/modules/screen_orientation/ScreenOrientationController.cpp b/Source/modules/screen_orientation/ScreenOrientationController.cpp
index e18f68a29ba3bab4980a09de40b7ecc0e288b589..9f1686db67f09080987a4209641514ece6d509f6 100644
--- a/Source/modules/screen_orientation/ScreenOrientationController.cpp
+++ b/Source/modules/screen_orientation/ScreenOrientationController.cpp
@@ -49,7 +49,7 @@ const char* ScreenOrientationController::supplementName()
return "ScreenOrientationController";
}
-void ScreenOrientationController::didChangeScreenOrientation(blink::WebScreenOrientation orientation)
+void ScreenOrientationController::didChangeScreenOrientation(blink::WebScreenOrientationType orientation)
{
if (orientation == m_orientation)
return;

Powered by Google App Engine
This is Rietveld 408576698