| Index: chrome/browser/app_controller_mac_browsertest.mm
|
| diff --git a/chrome/browser/app_controller_mac_browsertest.mm b/chrome/browser/app_controller_mac_browsertest.mm
|
| index 79a34c977bb76ffd47d01c6ae433b4d381f2bb3b..2a19e987c8a727070814e5475e1b884c24ea355a 100644
|
| --- a/chrome/browser/app_controller_mac_browsertest.mm
|
| +++ b/chrome/browser/app_controller_mac_browsertest.mm
|
| @@ -437,7 +437,8 @@ class AppControllerMainMenuBrowserTest : public InProcessBrowserTest {
|
| IN_PROC_BROWSER_TEST_F(AppControllerMainMenuBrowserTest,
|
| HistoryMenuResetAfterProfileDeletion) {
|
| ProfileManager* profile_manager = g_browser_process->profile_manager();
|
| - AppController* ac = [NSApp delegate];
|
| + AppController* ac =
|
| + base::mac::ObjCCastStrict<AppController>([NSApp delegate]);
|
|
|
| // Use the existing profile as profile 1.
|
| Profile* profile1 = browser()->profile();
|
|
|