Index: chrome/browser/ui/browser_browsertest.cc |
diff --git a/chrome/browser/ui/browser_browsertest.cc b/chrome/browser/ui/browser_browsertest.cc |
index ff69a6624b5fd60fad8843e3b7a80d97341b58e1..d8f3a25b08f2805376945beb3558d752e0362d79 100644 |
--- a/chrome/browser/ui/browser_browsertest.cc |
+++ b/chrome/browser/ui/browser_browsertest.cc |
@@ -772,14 +772,14 @@ IN_PROC_BROWSER_TEST_F(BrowserTest, OpenAppWindowLikeNtp) { |
#endif // !defined(OS_MACOSX) |
// Makes sure the browser doesn't crash when |
-// set_maximized_state(MAXIMIZED_STATE_MAXIMIZED) has been invoked. |
+// set_show_state(ui::SHOW_STATE_MAXIMIZED) has been invoked. |
IN_PROC_BROWSER_TEST_F(BrowserTest, StartMaximized) { |
// Can't test TYPE_PANEL as they are currently created differently (and can't |
// end up maximized). |
Browser::Type types[] = { Browser::TYPE_TABBED, Browser::TYPE_POPUP }; |
for (size_t i = 0; i < ARRAYSIZE_UNSAFE(types); ++i) { |
Browser* max_browser = new Browser(types[i], browser()->profile()); |
- max_browser->set_maximized_state(Browser::MAXIMIZED_STATE_MAXIMIZED); |
+ max_browser->set_show_state(ui::SHOW_STATE_MAXIMIZED); |
max_browser->InitBrowserWindow(); |
AddBlankTabAndShow(max_browser); |
} |