| Index: chrome/browser/ui/views/extensions/extension_dialog.cc
|
| diff --git a/chrome/browser/ui/views/extensions/extension_dialog.cc b/chrome/browser/ui/views/extensions/extension_dialog.cc
|
| index edd09338baf1b5535168748c6759a5d34c3f5b64..cf189bd31dd534bccabbdaa60f479883cc48536d 100644
|
| --- a/chrome/browser/ui/views/extensions/extension_dialog.cc
|
| +++ b/chrome/browser/ui/views/extensions/extension_dialog.cc
|
| @@ -18,7 +18,7 @@
|
| #include "content/public/browser/render_widget_host_view.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "ui/base/base_window.h"
|
| -#include "ui/gfx/screen.h"
|
| +#include "ui/display/screen.h"
|
| #include "ui/views/background.h"
|
| #include "ui/views/widget/widget.h"
|
| #include "url/gurl.h"
|
| @@ -110,7 +110,7 @@ void ExtensionDialog::InitWindow(gfx::NativeWindow parent,
|
| // Ensure the top left and top right of the window are on screen, with
|
| // priority given to the top left.
|
| gfx::Rect screen_rect =
|
| - gfx::Screen::GetScreen()->GetDisplayNearestPoint(center).bounds();
|
| + display::Screen::GetScreen()->GetDisplayNearestPoint(center).bounds();
|
| gfx::Rect bounds_rect = gfx::Rect(x, y, width, height);
|
| bounds_rect.AdjustToFit(screen_rect);
|
| window->SetBounds(bounds_rect);
|
|
|