Index: chrome/browser/app_controller_mac.mm |
=================================================================== |
--- chrome/browser/app_controller_mac.mm (revision 23016) |
+++ chrome/browser/app_controller_mac.mm (working copy) |
@@ -24,6 +24,7 @@ |
#import "chrome/browser/cocoa/preferences_window_controller.h" |
#import "chrome/browser/cocoa/tab_strip_controller.h" |
#import "chrome/browser/cocoa/tab_window_controller.h" |
+#import "chrome/browser/cocoa/ui_localizer.h" |
#include "chrome/browser/command_updater.h" |
#include "chrome/browser/download/download_manager.h" |
#include "chrome/browser/sessions/tab_restore_service.h" |
@@ -32,7 +33,6 @@ |
#include "chrome/browser/profile_manager.h" |
#include "chrome/common/temp_scaffolding_stubs.h" |
#include "grit/generated_resources.h" |
-#import "xib_localizers/main_menu_localizer.h" |
@interface AppController(PRIVATE) |
- (void)initMenuState; |
@@ -228,8 +228,8 @@ |
// because it's too early. Do it before we create any bookmark menus as well, |
// just in case one has a title that matches any of our strings (unlikely, |
// but technically possible). |
- scoped_nsobject<MainMenuLocalizer> localizer( |
- [[MainMenuLocalizer alloc] initWithBundle:nil]); |
+ scoped_nsobject<ChromeUILocalizer> localizer( |
+ [[ChromeUILocalizer alloc] initWithBundle:nil]); |
[localizer localizeObject:[NSApplication sharedApplication] |
recursively:YES]; |