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

Unified Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.mm

Issue 5961007: Move nsimage_cache from base to app/mac. Use the app::mac namespace. Update c... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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
Index: chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.mm
===================================================================
--- chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.mm (revision 69953)
+++ chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.mm (working copy)
@@ -5,8 +5,8 @@
#import "chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.h"
#include "app/l10n_util_mac.h"
+#include "app/mac/nsimage_cache.h"
#include "base/logging.h"
-#include "base/nsimage_cache_mac.h"
#include "base/sys_string_conversions.h"
#import "chrome/browser/bookmarks/bookmark_model.h"
#include "chrome/browser/metrics/user_metrics.h"
@@ -203,8 +203,8 @@
- (void)setDrawFolderArrow:(BOOL)draw {
drawFolderArrow_ = draw;
if (draw && !arrowImage_) {
- arrowImage_.reset([nsimage_cache::ImageNamed(@"menu_hierarchy_arrow.pdf")
- retain]);
+ arrowImage_.reset(
+ [app::mac::GetCachedImageWithName(@"menu_hierarchy_arrow.pdf") retain]);
}
}

Powered by Google App Engine
This is Rietveld 408576698