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

Unified Diff: ui/compositor/test/test_suite.cc

Issue 1889423002: Move Windows DPI Code from ui/gfx to ui/display (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a TODO 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 | « ui/compositor/test/DEPS ('k') | ui/display/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/test/test_suite.cc
diff --git a/ui/compositor/test/test_suite.cc b/ui/compositor/test/test_suite.cc
index 40e14d9a35f20c6040f1213e5131676aecc5a6a7..04e6daf745e7329be1059bf163bc135631e3b187 100644
--- a/ui/compositor/test/test_suite.cc
+++ b/ui/compositor/test/test_suite.cc
@@ -14,7 +14,7 @@
#include "ui/gl/test/gl_surface_test_support.h"
#if defined(OS_WIN)
-#include "ui/gfx/win/dpi.h"
+#include "ui/display/win/dpi.h"
#endif
namespace ui {
@@ -32,7 +32,7 @@ void CompositorTestSuite::Initialize() {
gfx::RegisterPathProvider();
#if defined(OS_WIN)
- gfx::SetDefaultDeviceScaleFactor(1.0f);
+ display::win::SetDefaultDeviceScaleFactor(1.0f);
#endif
message_loop_.reset(new base::MessageLoopForUI);
« no previous file with comments | « ui/compositor/test/DEPS ('k') | ui/display/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698