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

Unified Diff: chrome/browser/ui/cocoa/web_contents_drag_source.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
« no previous file with comments | « chrome/browser/ui/cocoa/toolbar_controller.mm ('k') | chrome/browser/ui/cocoa/web_drag_source.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/web_contents_drag_source.mm
===================================================================
--- chrome/browser/ui/cocoa/web_contents_drag_source.mm (revision 69953)
+++ chrome/browser/ui/cocoa/web_contents_drag_source.mm (working copy)
@@ -4,7 +4,7 @@
#import "chrome/browser/ui/cocoa/web_contents_drag_source.h"
-#include "base/nsimage_cache_mac.h"
+#include "app/mac/nsimage_cache.h"
#include "base/string_util.h"
#include "base/sys_string_conversions.h"
#include "chrome/browser/renderer_host/render_view_host.h"
@@ -20,7 +20,7 @@
// WebKit/WebKit/mac/Misc/WebNSViewExtras.m: |-_web_DragImageForElement:...|).
// Default to returning a generic image.
- return nsimage_cache::ImageNamed(@"nav.pdf");
+ return app::mac::GetCachedImageWithName(@"nav.pdf");
}
// Flips screen and point coordinates over the y axis to work with webkit
« no previous file with comments | « chrome/browser/ui/cocoa/toolbar_controller.mm ('k') | chrome/browser/ui/cocoa/web_drag_source.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698