diff options
Diffstat (limited to 'chrome/browser/cocoa')
| -rw-r--r-- | chrome/browser/cocoa/applescript/browsercrapplication+applescript_test.mm | 2 | ||||
| -rw-r--r-- | chrome/browser/cocoa/browser_window_controller_unittest.mm | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/cocoa/applescript/browsercrapplication+applescript_test.mm b/chrome/browser/cocoa/applescript/browsercrapplication+applescript_test.mm index 2825ef2..e17d102 100644 --- a/chrome/browser/cocoa/applescript/browsercrapplication+applescript_test.mm +++ b/chrome/browser/cocoa/applescript/browsercrapplication+applescript_test.mm @@ -19,7 +19,7 @@ typedef InProcessBrowserTest BrowserCrApplicationAppleScriptTest; IN_PROC_BROWSER_TEST_F(BrowserCrApplicationAppleScriptTest, Creation) { // Create additional |Browser*| objects of different type. Profile* profile = browser()->profile(); - Browser* b1 = Browser::CreateForPopup(profile); + Browser* b1 = Browser::CreateForType(Browser::TYPE_POPUP, profile); Browser* b2 = Browser::CreateForApp("", NULL, profile, true); Browser* b3 = Browser::CreateForApp("", NULL, profile, false); diff --git a/chrome/browser/cocoa/browser_window_controller_unittest.mm b/chrome/browser/cocoa/browser_window_controller_unittest.mm index 17886c2..a6fda62 100644 --- a/chrome/browser/cocoa/browser_window_controller_unittest.mm +++ b/chrome/browser/cocoa/browser_window_controller_unittest.mm @@ -117,7 +117,8 @@ TEST_F(BrowserWindowControllerTest, TestNormal) { // And make sure a controller for a pop-up window is not normal. // popup_browser will be owned by its window. - Browser *popup_browser(Browser::CreateForPopup(browser_helper_.profile())); + Browser *popup_browser(Browser::CreateForType(Browser::TYPE_POPUP, + browser_helper_.profile())); NSWindow *cocoaWindow = popup_browser->window()->GetNativeHandle(); BrowserWindowController* controller = static_cast<BrowserWindowController*>([cocoaWindow windowController]); |
