Index: content/renderer/renderer_main_platform_delegate_win.cc |
diff --git a/content/renderer/renderer_main_platform_delegate_win.cc b/content/renderer/renderer_main_platform_delegate_win.cc |
index 0277d3ed7b511afed23333b2dee97f396b339120..a698af44040529c65f4e1c8a82af9b3d4018d447 100644 |
--- a/content/renderer/renderer_main_platform_delegate_win.cc |
+++ b/content/renderer/renderer_main_platform_delegate_win.cc |
@@ -25,8 +25,8 @@ |
#include "third_party/WebKit/public/web/win/WebFontRendering.h" |
#include "third_party/icu/source/i18n/unicode/timezone.h" |
#include "third_party/skia/include/ports/SkTypeface_win.h" |
+#include "ui/display/win/dpi.h" |
#include "ui/gfx/win/direct_write.h" |
-#include "ui/gfx/win/dpi.h" |
namespace content { |
namespace { |
@@ -75,7 +75,8 @@ void RendererMainPlatformDelegate::PlatformInitialize() { |
} |
} |
blink::WebFontRendering::setUseDirectWrite(use_direct_write); |
- blink::WebFontRendering::setDeviceScaleFactor(gfx::GetDPIScale()); |
+ // TODO(robliao): This should use WebScreenInfo. See http://crbug.com/604555. |
+ blink::WebFontRendering::setDeviceScaleFactor(display::win::GetDPIScale()); |
} |
void RendererMainPlatformDelegate::PlatformUninitialize() { |