| Index: Source/modules/screen_orientation/ScreenOrientationController.cpp
|
| diff --git a/Source/modules/screen_orientation/ScreenOrientationController.cpp b/Source/modules/screen_orientation/ScreenOrientationController.cpp
|
| index 2792d366e279501c6d64b55cc789a947df209bda..94f49ae0e78b169f168491d3fa0c8d8b0af188bb 100644
|
| --- a/Source/modules/screen_orientation/ScreenOrientationController.cpp
|
| +++ b/Source/modules/screen_orientation/ScreenOrientationController.cpp
|
| @@ -56,7 +56,7 @@ WebScreenOrientationType ScreenOrientationController::computeOrientation(FrameVi
|
| if (LayoutTestSupport::isRunningLayoutTest())
|
| return WebScreenOrientationPortraitPrimary;
|
|
|
| - FloatRect rect = screenRect(view);
|
| + IntRect rect = screenRect(view);
|
| uint16_t rotation = screenOrientationAngle(view);
|
| bool isTallDisplay = rotation % 180 ? rect.height() < rect.width() : rect.height() > rect.width();
|
| switch (rotation) {
|
|
|