Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(330)

Unified Diff: components/dom_distiller/content/browser/distiller_page_web_contents.cc

Issue 1926523002: Rename gfx::Display/Screen to display::Display/Screen in components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/dom_distiller/content/browser/DEPS ('k') | components/exo.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « components/dom_distiller/content/browser/DEPS ('k') | components/exo.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698