Index: chrome/browser/chrome_browser_main_win.cc |
diff --git a/chrome/browser/chrome_browser_main_win.cc b/chrome/browser/chrome_browser_main_win.cc |
index 16a64525c3436361ae119b913d4ea76e257f8623..d3195b49b1200a94e562e5aa93408eff0321992e 100644 |
--- a/chrome/browser/chrome_browser_main_win.cc |
+++ b/chrome/browser/chrome_browser_main_win.cc |
@@ -47,6 +47,7 @@ |
#include "ui/base/l10n/l10n_util.h" |
#include "ui/base/l10n/l10n_util_win.h" |
#include "ui/base/ui_base_switches.h" |
+#include "ui/base/win/dpi_setup.h" |
#include "ui/base/win/message_box_win.h" |
#include "ui/gfx/platform_font_win.h" |
@@ -201,6 +202,8 @@ void ChromeBrowserMainPartsWin::PreMainMessageLoopStart() { |
// Make sure that we know how to handle exceptions from the message loop. |
InitializeWindowProcExceptions(); |
} |
+ |
+ ui::win::InitDeviceScaleFactor(); |
sky
2013/09/25 19:28:15
Should this be earlier on? Maybe before toolkit is
|
} |
int ChromeBrowserMainPartsWin::PreCreateThreads() { |