Commit ae18bbf1 authored by boliu's avatar boliu Committed by Commit bot

Remove DeviceDisplayInfo from WebContentsViewAndroid

It's unused already.

BUG=625089

Review-Url: https://codereview.chromium.org/2610853009
Cr-Commit-Position: refs/heads/master@{#441771}
parent a3e1e654
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#include "content/public/common/drop_data.h" #include "content/public/common/drop_data.h"
#include "ui/android/overscroll_refresh_handler.h" #include "ui/android/overscroll_refresh_handler.h"
#include "ui/display/screen.h" #include "ui/display/screen.h"
#include "ui/gfx/android/device_display_info.h"
#include "ui/gfx/android/java_bitmap.h" #include "ui/gfx/android/java_bitmap.h"
#include "ui/gfx/image/image_skia.h" #include "ui/gfx/image/image_skia.h"
...@@ -39,7 +38,6 @@ void DisplayToScreenInfo(const display::Display& display, ScreenInfo* results) { ...@@ -39,7 +38,6 @@ void DisplayToScreenInfo(const display::Display& display, ScreenInfo* results) {
results->orientation_angle = display.RotationAsDegree(); results->orientation_angle = display.RotationAsDegree();
results->orientation_type = results->orientation_type =
RenderWidgetHostViewBase::GetOrientationTypeForMobile(display); RenderWidgetHostViewBase::GetOrientationTypeForMobile(display);
gfx::DeviceDisplayInfo info;
results->depth = display.color_depth(); results->depth = display.color_depth();
results->depth_per_component = display.depth_per_component(); results->depth_per_component = display.depth_per_component();
results->is_monochrome = display.is_monochrome(); results->is_monochrome = display.is_monochrome();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment