| Index: ui/gfx/screen_android.cc
|
| diff --git a/ui/gfx/screen_android.cc b/ui/gfx/screen_android.cc
|
| index a2e5a5ddb7aec36dbb0e8095c2749c095f6f29ac..5ca7c5939a9bd1ef1d53915aa0a33ad5b256d6dd 100644
|
| --- a/ui/gfx/screen_android.cc
|
| +++ b/ui/gfx/screen_android.cc
|
| @@ -15,22 +15,23 @@ bool Screen::IsDIPEnabled() {
|
| }
|
|
|
| // static
|
| -gfx::Display Screen::GetPrimaryDisplay() {
|
| +gfx::Display Screen::GetPrimaryDisplay(gfx::NativeView context) {
|
| NOTIMPLEMENTED() << "crbug.com/117839 tracks implementation";
|
| return gfx::Display(0, gfx::Rect(0, 0, 1, 1));
|
| }
|
|
|
| // static
|
| gfx::Display Screen::GetDisplayNearestWindow(gfx::NativeView view) {
|
| - return GetPrimaryDisplay();
|
| + return GetPrimaryDisplay(view);
|
| }
|
|
|
| // static
|
| -gfx::Display Screen::GetDisplayNearestPoint(const gfx::Point& point) {
|
| - return GetPrimaryDisplay();
|
| +gfx::Display Screen::GetDisplayNearestPoint(
|
| + gfx::NativeView context, const gfx::Point& point) {
|
| + return GetPrimaryDisplay(context);
|
| }
|
|
|
| -int Screen::GetNumDisplays() {
|
| +int Screen::GetNumDisplays(gfx::NativeView context) {
|
| return 1;
|
| }
|
|
|
|
|