Index: chrome/browser/ui/views/theme_image_mapper.cc |
diff --git a/chrome/browser/ui/views/theme_image_mapper.cc b/chrome/browser/ui/views/theme_image_mapper.cc |
index bc947e7dc4d1a3403baaee152422a58d41f53b9b..69284a23d5f1b94e03f1f84426e63a4ea6141ca1 100644 |
--- a/chrome/browser/ui/views/theme_image_mapper.cc |
+++ b/chrome/browser/ui/views/theme_image_mapper.cc |
@@ -8,8 +8,10 @@ |
namespace chrome { |
+// On platforms where there is both Ash and a desktop browser, provide DESKTOP |
+// resources for the latter. |
int MapThemeImage(HostDesktopType desktop_type, int resource) { |
-#if !defined(OS_CHROMEOS) |
+#if !defined(OS_CHROMEOS) && !defined(OS_MACOSX) |
if (desktop_type != HOST_DESKTOP_TYPE_NATIVE) |
return resource; |