| Index: chrome/browser/ui/cocoa/history_menu_bridge.mm
|
| diff --git a/chrome/browser/ui/cocoa/history_menu_bridge.mm b/chrome/browser/ui/cocoa/history_menu_bridge.mm
|
| index 2aa9644da635989cda8da4eb1880adebda4413a0..0d26d0783f96bd52c3b0a9e83b1b49fc49d96666 100644
|
| --- a/chrome/browser/ui/cocoa/history_menu_bridge.mm
|
| +++ b/chrome/browser/ui/cocoa/history_menu_bridge.mm
|
| @@ -105,11 +105,12 @@ HistoryMenuBridge::HistoryMenuBridge(Profile* profile)
|
| }
|
|
|
| ResourceBundle& rb = ResourceBundle::GetSharedInstance();
|
| - default_favicon_.reset([rb.GetNativeImageNamed(IDR_DEFAULT_FAVICON) retain]);
|
| + default_favicon_.reset(
|
| + rb.GetNativeImageNamed(IDR_DEFAULT_FAVICON).CopyNSImage());
|
|
|
| // Set the static icons in the menu.
|
| NSMenuItem* item = [HistoryMenu() itemWithTag:IDC_SHOW_HISTORY];
|
| - [item setImage:rb.GetNativeImageNamed(IDR_HISTORY_FAVICON)];
|
| + [item setImage:rb.GetNativeImageNamed(IDR_HISTORY_FAVICON).ToNSImage()];
|
|
|
| // The service is not ready for use yet, so become notified when it does.
|
| if (!history_service_) {
|
|
|