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

Unified Diff: components/mus/ws/platform_display.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/mus/ws/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/platform_display.cc
diff --git a/components/mus/ws/platform_display.cc b/components/mus/ws/platform_display.cc
index 116d1f32b2675ad790adb9f9edcdeab1eadd1ab3..2da8018fba8e4fe8e3c7df3d47b9cc1262dc3f95 100644
--- a/components/mus/ws/platform_display.cc
+++ b/components/mus/ws/platform_display.cc
@@ -32,9 +32,9 @@
#include "services/shell/public/cpp/connector.h"
#include "third_party/skia/include/core/SkXfermode.h"
#include "ui/base/cursor/cursor_loader.h"
+#include "ui/display/display.h"
#include "ui/events/event.h"
#include "ui/events/event_utils.h"
-#include "ui/gfx/display.h"
#include "ui/platform_window/platform_ime_controller.h"
#include "ui/platform_window/platform_window.h"
@@ -316,8 +316,8 @@ void DefaultPlatformDisplay::WantToDraw() {
void DefaultPlatformDisplay::UpdateMetrics(const gfx::Size& size,
float device_pixel_ratio) {
- if (gfx::Display::HasForceDeviceScaleFactor())
- device_pixel_ratio = gfx::Display::GetForcedDeviceScaleFactor();
+ if (display::Display::HasForceDeviceScaleFactor())
+ device_pixel_ratio = display::Display::GetForcedDeviceScaleFactor();
if (metrics_.size_in_pixels.To<gfx::Size>() == size &&
metrics_.device_pixel_ratio == device_pixel_ratio)
return;
« no previous file with comments | « components/mus/ws/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698