Index: chrome/browser/themes/browser_theme_pack_unittest.cc |
diff --git a/chrome/browser/themes/browser_theme_pack_unittest.cc b/chrome/browser/themes/browser_theme_pack_unittest.cc |
index 18e3dc71c3c478aac53553ba2afa3878a479bc7c..590de4b38af26465c583ec9810bda2555461d45f 100644 |
--- a/chrome/browser/themes/browser_theme_pack_unittest.cc |
+++ b/chrome/browser/themes/browser_theme_pack_unittest.cc |
@@ -19,6 +19,9 @@ |
#include "ui/gfx/image/image.h" |
#include "ui/gfx/image/image_skia.h" |
#include "ui/gfx/image/image_skia_rep.h" |
+#if defined(OS_WIN) |
+#include "ui/gfx/win/dpi.h" |
+#endif |
using content::BrowserThread; |
using extensions::Extension; |
@@ -593,6 +596,10 @@ TEST_F(BrowserThemePackTest, HiDpiThemeTest) { |
base::ScopedTempDir dir; |
ASSERT_TRUE(dir.CreateUniqueTempDir()); |
base::FilePath file = dir.path().AppendASCII("theme_data.pak"); |
+#if defined(OS_WIN) |
+ if (gfx::IsHighDPIEnabled()) |
+ return; |
+#endif |
// Part 1: Build the pack from an extension. |
{ |