| Index: content/browser/renderer_host/render_widget_host_view_android.cc
|
| 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 52455090ad407c719873d138796bf59dda34136e..2cfc5a5fc38da6082136dbe889193d01dd6f3f48 100644
|
| --- a/content/browser/renderer_host/render_widget_host_view_android.cc
|
| +++ b/content/browser/renderer_host/render_widget_host_view_android.cc
|
| @@ -1960,8 +1960,8 @@ void RenderWidgetHostViewBase::GetDefaultScreenInfo(
|
| results->orientationType =
|
| RenderWidgetHostViewBase::GetOrientationTypeForMobile(display);
|
| gfx::DeviceDisplayInfo info;
|
| - results->depth = info.GetBitsPerPixel();
|
| - results->depthPerComponent = info.GetBitsPerComponent();
|
| + results->depth = display.color_depth();
|
| + results->depthPerComponent = display.depth_per_component();
|
| results->isMonochrome = (results->depthPerComponent == 0);
|
| }
|
|
|
|
|