Index: chrome/browser/favicon/favicon_handler_unittest.cc |
diff --git a/chrome/browser/favicon/favicon_handler_unittest.cc b/chrome/browser/favicon/favicon_handler_unittest.cc |
index a080949b73d27d23903b0f1eeac6a0d82ef3bcc8..8ab217b0f2b9955e0a0db211898886d70a1b8449 100644 |
--- a/chrome/browser/favicon/favicon_handler_unittest.cc |
+++ b/chrome/browser/favicon/favicon_handler_unittest.cc |
@@ -12,6 +12,9 @@ |
#include "ui/gfx/codec/png_codec.h" |
#include "ui/gfx/favicon_size.h" |
#include "ui/gfx/image/image.h" |
+#if defined(OS_WIN) |
+#include "ui/gfx/win/dpi.h" |
+#endif |
class TestFaviconHandler; |
@@ -1033,6 +1036,12 @@ TEST_F(FaviconHandlerTest, UpdateDuringDownloading) { |
// The goal of this test is to be more of an integration test than |
// SelectFaviconFramesTest.*. |
TEST_F(FaviconHandlerTest, MultipleFavicons) { |
+#if defined(OS_WIN) |
+ // High DPI breaks multi-resolution handling. Bail. |
+ if (gfx::IsHighDPIEnabled()) |
+ return; |
+#endif |
+ |
const GURL kPageURL("http://www.google.com"); |
const FaviconURL kSourceIconURLs[] = { |
FaviconURL(GURL("http://www.google.com/a"), |