| Index: ui/base/resource/resource_bundle.cc
|
| diff --git a/ui/base/resource/resource_bundle.cc b/ui/base/resource/resource_bundle.cc
|
| index c4d70b29841aafe3e788bd266d948da96cf61533..bae01c7b3ea4fddbe9892e170b5eeaec6f5887ca 100644
|
| --- a/ui/base/resource/resource_bundle.cc
|
| +++ b/ui/base/resource/resource_bundle.cc
|
| @@ -46,7 +46,6 @@
|
| #endif
|
|
|
| #if defined(OS_WIN)
|
| -#include "ui/base/win/dpi_setup.h"
|
| #include "ui/gfx/win/dpi.h"
|
| #endif
|
|
|
| @@ -649,7 +648,7 @@ void ResourceBundle::InitSharedInstance(Delegate* delegate) {
|
| // Don't initialize the device scale factor if it has already been
|
| // initialized.
|
| if (!gfx::win::IsDeviceScaleFactorSet())
|
| - ui::win::InitDeviceScaleFactor();
|
| + gfx::InitDeviceScaleFactor(gfx::GetDPIScale());
|
| #endif
|
| }
|
|
|
|
|