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..6db628cdf74875eee9f68c019a63dab2f8e0e93c 100644 |
--- a/chrome/browser/themes/browser_theme_pack_unittest.cc |
+++ b/chrome/browser/themes/browser_theme_pack_unittest.cc |
@@ -469,9 +469,9 @@ TEST_F(BrowserThemePackTest, CanParsePaths) { |
ParseImageNamesJSON(path_json, &out_file_paths); |
size_t expected_file_paths = 2u; |
-#if defined(OS_WIN) |
- // On Windows additional theme paths are generated to map to the special |
- // resource ids like IDR_THEME_FRAME_WIN, etc |
+#if defined(USE_ASH) && !defined(OS_CHROMEOS) |
+ // On desktop builds with ash, additional theme paths are generated to map to |
+ // the special resource ids like IDR_THEME_FRAME_DESKTOP, etc |
expected_file_paths = 3u; |
#endif |
EXPECT_EQ(expected_file_paths, out_file_paths.size()); |