| Index: components/dom_distiller/content/browser/distiller_page_web_contents.cc
|
| diff --git a/components/dom_distiller/content/browser/distiller_page_web_contents.cc b/components/dom_distiller/content/browser/distiller_page_web_contents.cc
|
| index 7f1c7f903d55cb3b613db95ab5a8ac2aae710d63..156f0e325a8a393f6923875c34302bddb87fbf5a 100644
|
| --- a/components/dom_distiller/content/browser/distiller_page_web_contents.cc
|
| +++ b/components/dom_distiller/content/browser/distiller_page_web_contents.cc
|
| @@ -21,7 +21,7 @@
|
| #include "content/public/browser/render_view_host.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "content/public/browser/web_contents_observer.h"
|
| -#include "ui/gfx/screen.h"
|
| +#include "ui/display/screen.h"
|
| #include "url/gurl.h"
|
|
|
| namespace dom_distiller {
|
| @@ -144,7 +144,7 @@ gfx::Size DistillerPageWebContents::GetSizeForNewRenderView(
|
| // in the executed domdistiller.js won't be 0.
|
| if (size.IsEmpty()) {
|
| DVLOG(1) << "Using fullscreen as default RenderView size";
|
| - size = gfx::Screen::GetScreen()->GetPrimaryDisplay().size();
|
| + size = display::Screen::GetScreen()->GetPrimaryDisplay().size();
|
| }
|
| return size;
|
| }
|
|
|