summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/history_menu_bridge.mm
diff options
context:
space:
mode:
authorrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-21 16:32:59 +0000
committerrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-21 16:32:59 +0000
commit2953b506591d6f4a52e443831d43c0a996b7819a (patch)
tree2566f8d00bec266b854d2f132ad7189e50aec855 /chrome/browser/cocoa/history_menu_bridge.mm
parent985454a327e5907caf0d5f32ed37de9f6f2abda4 (diff)
downloadchromium_src-2953b506591d6f4a52e443831d43c0a996b7819a.zip
chromium_src-2953b506591d6f4a52e443831d43c0a996b7819a.tar.gz
chromium_src-2953b506591d6f4a52e443831d43c0a996b7819a.tar.bz2
Move all ResourceBundle::GetNSImageNamed() calls to GetNativeImageNamed().
This is part of the first stage of cleaning up ResourceBundle's interface. BUG=58030 TEST=Compile and unit tests. Review URL: http://codereview.chromium.org/3806007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63367 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/history_menu_bridge.mm')
-rw-r--r--chrome/browser/cocoa/history_menu_bridge.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/cocoa/history_menu_bridge.mm b/chrome/browser/cocoa/history_menu_bridge.mm
index 10e1bc2..844ca38 100644
--- a/chrome/browser/cocoa/history_menu_bridge.mm
+++ b/chrome/browser/cocoa/history_menu_bridge.mm
@@ -91,11 +91,11 @@ HistoryMenuBridge::HistoryMenuBridge(Profile* profile)
}
ResourceBundle& rb = ResourceBundle::GetSharedInstance();
- default_favicon_.reset([rb.GetNSImageNamed(IDR_DEFAULT_FAVICON) retain]);
+ default_favicon_.reset([rb.GetNativeImageNamed(IDR_DEFAULT_FAVICON) retain]);
// Set the static icons in the menu.
NSMenuItem* item = [HistoryMenu() itemWithTag:IDC_SHOW_HISTORY];
- [item setImage:rb.GetNSImageNamed(IDR_HISTORY_FAVICON)];
+ [item setImage:rb.GetNativeImageNamed(IDR_HISTORY_FAVICON)];
// The service is not ready for use yet, so become notified when it does.
if (!history_service_) {