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

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

Issue 7200045: Move app/mac/ files to ui/gfx/mac/ directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove more unused includes Created 9 years, 6 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
Index: chrome/browser/ui/cocoa/bookmarks/bookmark_menu_bridge.mm
diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_menu_bridge.mm b/chrome/browser/ui/cocoa/bookmarks/bookmark_menu_bridge.mm
index 3b52c0a7a2c7214d00af7fa21669b1a7b755a642..c5c1f381f42199ea0bc4068a0ece93cf552f7377 100644
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_menu_bridge.mm
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_menu_bridge.mm
@@ -4,7 +4,6 @@
#import <AppKit/AppKit.h>
-#include "app/mac/nsimage_cache.h"
#include "base/sys_string_conversions.h"
#include "chrome/app/chrome_command_ids.h"
#import "chrome/browser/app_controller_mac.h"
@@ -20,6 +19,7 @@
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/gfx/image/image.h"
+#include "ui/gfx/mac/nsimage_cache.h"
BookmarkMenuBridge::BookmarkMenuBridge(Profile* profile)
: menuIsValid_(false),
@@ -298,7 +298,7 @@ void BookmarkMenuBridge::ConfigureMenuItem(const BookmarkNode* node,
// Either we do not have a loaded favicon or the conversion from SkBitmap
// failed. Use the default site image instead.
if (!favicon)
- favicon = app::mac::GetCachedImageWithName(@"nav.pdf");
+ favicon = gfx::GetCachedImageWithName(@"nav.pdf");
[item setImage:favicon];
}

Powered by Google App Engine
This is Rietveld 408576698