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

Unified Diff: ui/aura/demo/demo_main.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/aura/demo/DEPS ('k') | ui/base/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/demo/demo_main.cc
diff --git a/ui/aura/demo/demo_main.cc b/ui/aura/demo/demo_main.cc
index 13ead0ed42c5f81da9af6f5aaa8e020bb45e15e0..649bfb669bb0792389dd748645b76584d555a3ae 100644
--- a/ui/aura/demo/demo_main.cc
+++ b/ui/aura/demo/demo_main.cc
@@ -36,7 +36,7 @@
#endif
#if defined(OS_WIN)
-#include "ui/gfx/win/dpi.h"
+#include "ui/display/win/dpi.h"
#endif
namespace {
@@ -133,7 +133,7 @@ int DemoMain() {
gfx::GLSurface::InitializeOneOff();
#if defined(OS_WIN)
- gfx::SetDefaultDeviceScaleFactor(1.0f);
+ display::win::SetDefaultDeviceScaleFactor(1.0f);
#endif
// The ContextFactory must exist before any Compositors are created.
« no previous file with comments | « ui/aura/demo/DEPS ('k') | ui/base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698