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

Unified Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_window.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_bar_folder_window.mm
===================================================================
--- chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_window.mm (revision 69953)
+++ chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_window.mm (working copy)
@@ -5,7 +5,7 @@
#import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_window.h"
#import "base/logging.h"
-#include "base/nsimage_cache_mac.h"
+#include "app/mac/nsimage_cache.h"
#import "base/scoped_nsobject.h"
#import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller.h"
#import "chrome/browser/ui/cocoa/image_utils.h"
@@ -41,10 +41,10 @@
@implementation BookmarkBarFolderWindowContentView
- (void)awakeFromNib {
- arrowUpImage_.reset([nsimage_cache::ImageNamed(@"menu_overflow_up.pdf")
- retain]);
- arrowDownImage_.reset([nsimage_cache::ImageNamed(@"menu_overflow_down.pdf")
- retain]);
+ arrowUpImage_.reset(
+ [app::mac::GetCachedImageWithName(@"menu_overflow_up.pdf") retain]);
+ arrowDownImage_.reset(
+ [app::mac::GetCachedImageWithName(@"menu_overflow_down.pdf") retain]);
}
// Draw the arrows at the top and bottom of the folder window as a

Powered by Google App Engine
This is Rietveld 408576698