diff options
Diffstat (limited to 'content/browser/renderer_host/render_widget_host_view_android.cc')
-rw-r--r-- | content/browser/renderer_host/render_widget_host_view_android.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/content/browser/renderer_host/render_widget_host_view_android.cc b/content/browser/renderer_host/render_widget_host_view_android.cc index 51ac5fc..e830e65 100644 --- a/content/browser/renderer_host/render_widget_host_view_android.cc +++ b/content/browser/renderer_host/render_widget_host_view_android.cc @@ -1444,6 +1444,8 @@ void RenderWidgetHostViewBase::GetDefaultScreenInfo( results->availableRect = display.work_area(); results->deviceScaleFactor = display.device_scale_factor(); results->orientationAngle = display.RotationAsDegree(); + results->orientationType = + RenderWidgetHostViewBase::GetOrientationTypeFromDisplay(display); gfx::DeviceDisplayInfo info; results->depth = info.GetBitsPerPixel(); results->depthPerComponent = info.GetBitsPerComponent(); |