| Index: ui/gfx/win/dpi.cc
|
| diff --git a/ui/gfx/dpi_win.cc b/ui/gfx/win/dpi.cc
|
| similarity index 97%
|
| rename from ui/gfx/dpi_win.cc
|
| rename to ui/gfx/win/dpi.cc
|
| index 51972d26727978bc7362890d658d53064aac3d5f..98d23bd5ef9b8fe866740ea9375323a7392da5ba 100644
|
| --- a/ui/gfx/dpi_win.cc
|
| +++ b/ui/gfx/win/dpi.cc
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "ui/gfx/dpi_win.h"
|
| +#include "ui/gfx/win/dpi.h"
|
|
|
| #include <windows.h>
|
| #include "base/command_line.h"
|
| @@ -25,9 +25,9 @@ int kDefaultDPIY = 96;
|
| bool IsHighDPIEnabled() {
|
| // Default is disabled.
|
| if (CommandLine::ForCurrentProcess()->HasSwitch(
|
| - gfx::switches::kHighDPISupport)) {
|
| + switches::kHighDPISupport)) {
|
| return CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
|
| - gfx::switches::kHighDPISupport).compare("1") == 0;
|
| + switches::kHighDPISupport).compare("1") == 0;
|
| }
|
| return false;
|
| }
|
|
|