Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1159)

Unified Diff: chrome/browser/ui/views/theme_image_mapper.cc

Issue 983823004: MacViews: Fix missing browser assets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@titlebar
Patch Set: Undo patchset 5 Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/app/theme/theme_resources.grd ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « chrome/app/theme/theme_resources.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698