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

Unified Diff: content/test/blink_test_environment.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: 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
Index: content/test/blink_test_environment.cc
diff --git a/content/test/blink_test_environment.cc b/content/test/blink_test_environment.cc
index 77dee1a8e6c38f7842c9a348ce3e8cf921b5fac9..1114f7f25f8fa2a51eff58ed65adae6b347293c6 100644
--- a/content/test/blink_test_environment.cc
+++ b/content/test/blink_test_environment.cc
@@ -23,7 +23,7 @@
#include "url/url_util.h"
#if defined(OS_WIN)
-#include "ui/gfx/win/dpi.h"
+#include "ui/display/win/dpi.h"
#endif
#if defined(OS_ANDROID)
@@ -108,7 +108,7 @@ void SetUpBlinkTestEnvironment() {
#endif
#if defined(OS_WIN)
- gfx::SetDefaultDeviceScaleFactor(1.0f);
+ display::win::SetDefaultDeviceScaleFactor(1.0f);
#endif
// Explicitly initialize the GURL library before spawning any threads.

Powered by Google App Engine
This is Rietveld 408576698