| Index: ui/native_theme/native_theme_win.cc
|
| diff --git a/ui/native_theme/native_theme_win.cc b/ui/native_theme/native_theme_win.cc
|
| index da3ae0c9ee2c6a03bc25b4fb5f3a5a3fc5ff379c..f10db7ec40e0aad838692a004cae4bbe04d5d4b4 100644
|
| --- a/ui/native_theme/native_theme_win.cc
|
| +++ b/ui/native_theme/native_theme_win.cc
|
| @@ -24,13 +24,13 @@
|
| #include "third_party/skia/include/core/SkColorPriv.h"
|
| #include "third_party/skia/include/core/SkShader.h"
|
| #include "ui/base/material_design/material_design_controller.h"
|
| +#include "ui/display/win/dpi.h"
|
| #include "ui/gfx/color_palette.h"
|
| #include "ui/gfx/color_utils.h"
|
| #include "ui/gfx/gdi_util.h"
|
| #include "ui/gfx/geometry/rect.h"
|
| #include "ui/gfx/geometry/rect_conversions.h"
|
| #include "ui/gfx/skia_util.h"
|
| -#include "ui/gfx/win/dpi.h"
|
| #include "ui/native_theme/common_theme.h"
|
|
|
| // This was removed from Winvers.h but is still used.
|
| @@ -203,7 +203,7 @@ gfx::Size NativeThemeWin::GetPartSize(Part part,
|
| case kScrollbarVerticalThumb:
|
| case kScrollbarHorizontalTrack:
|
| case kScrollbarVerticalTrack: {
|
| - int size = gfx::win::GetSystemMetricsInDIP(SM_CXVSCROLL);
|
| + int size = display::win::GetSystemMetricsInDIP(SM_CXVSCROLL);
|
| if (size == 0)
|
| size = 17;
|
| return gfx::Size(size, size);
|
|
|