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

Unified Diff: chrome/browser/ui/cocoa/animatable_image_unittest.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/animatable_image_unittest.mm
===================================================================
--- chrome/browser/ui/cocoa/animatable_image_unittest.mm (revision 69953)
+++ chrome/browser/ui/cocoa/animatable_image_unittest.mm (working copy)
@@ -4,7 +4,7 @@
#import <Cocoa/Cocoa.h>
-#import "base/nsimage_cache_mac.h"
+#import "app/mac/nsimage_cache.h"
#import "chrome/browser/ui/cocoa/animatable_image.h"
#import "chrome/browser/ui/cocoa/cocoa_test_helper.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -16,7 +16,7 @@
public:
AnimatableImageTest() {
NSRect frame = NSMakeRect(0, 0, 500, 500);
- NSImage* image = nsimage_cache::ImageNamed(@"forward_Template.pdf");
+ NSImage* image = app::mac::GetCachedImageWithName(@"forward_Template.pdf");
animation_ = [[AnimatableImage alloc] initWithImage:image
animationFrame:frame];
}

Powered by Google App Engine
This is Rietveld 408576698