Index: content/app/content_main_runner.cc |
diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc |
index d19499f7aa5eeab69baac0c79034716ab18b1258..9b97639de1e5a187063f2de6f8870f8ff5c7f0a2 100644 |
--- a/content/app/content_main_runner.cc |
+++ b/content/app/content_main_runner.cc |
@@ -33,6 +33,7 @@ |
#include "sandbox/src/sandbox_types.h" |
#include "ui/base/ui_base_switches.h" |
#include "ui/base/ui_base_paths.h" |
+#include "ui/base/win/dpi.h" |
#include "webkit/glue/webkit_glue.h" |
#if defined(OS_WIN) |
@@ -417,6 +418,9 @@ class ContentMainRunnerImpl : public content::ContentMainRunner { |
SendTaskPortToParentProcess(); |
} |
#elif defined(OS_WIN) |
+#if defined(ENABLE_HIDPI) |
+ ui::EnableHighDPISupport(); |
+#endif |
content::SetupCRT(command_line); |
#endif |