Index: content/test/content_test_suite.cc |
diff --git a/content/test/content_test_suite.cc b/content/test/content_test_suite.cc |
index 24bad08a5ca80336c1e1b8689f78096c25eb7993..6a6d0c94a710e19eeee69d849dc16f041bebceab 100644 |
--- a/content/test/content_test_suite.cc |
+++ b/content/test/content_test_suite.cc |
@@ -11,10 +11,7 @@ |
#include "content/public/test/test_content_client_initializer.h" |
#include "gpu/config/gpu_util.h" |
#include "testing/gtest/include/gtest/gtest.h" |
- |
-#if defined(OS_WIN) |
-#include "ui/gfx/win/dpi.h" |
-#endif |
+#include "ui/gfx/dpi.h" |
#if defined(OS_MACOSX) |
#include "base/mac/scoped_nsautorelease_pool.h" |
@@ -71,7 +68,7 @@ void ContentTestSuite::Initialize() { |
#endif |
#endif |
-#if defined(OS_WIN) |
+#if defined(OS_WIN) || (defined(OS_LINUX) && !defined(OS_CHROMEOS)) |
gfx::InitDeviceScaleFactor(1.0f); |
#endif |