| Index: chrome/browser/ui/cocoa/task_manager_mac_browsertest.mm
|
| diff --git a/chrome/browser/ui/cocoa/task_manager_mac_browsertest.mm b/chrome/browser/ui/cocoa/task_manager_mac_browsertest.mm
|
| index 5c4b992637de04acd6fa5033efd53d884fb8a925..ff8e7ccf38bbd84d390820a26661ac728c0dcc96 100644
|
| --- a/chrome/browser/ui/cocoa/task_manager_mac_browsertest.mm
|
| +++ b/chrome/browser/ui/cocoa/task_manager_mac_browsertest.mm
|
| @@ -210,10 +210,12 @@ IN_PROC_BROWSER_TEST_F(TaskManagerMacTest, SelectionConsistency) {
|
| browser(), embedded_test_server()->GetURL("a.com", "/title2.html"));
|
| ui_test_utils::NavigateToURLWithDisposition(
|
| browser(), embedded_test_server()->GetURL("b.com", "/title2.html"),
|
| - NEW_FOREGROUND_TAB, ui_test_utils::BROWSER_TEST_WAIT_FOR_NAVIGATION);
|
| + WindowOpenDisposition::NEW_FOREGROUND_TAB,
|
| + ui_test_utils::BROWSER_TEST_WAIT_FOR_NAVIGATION);
|
| ui_test_utils::NavigateToURLWithDisposition(
|
| browser(), embedded_test_server()->GetURL("c.com", "/title2.html"),
|
| - NEW_FOREGROUND_TAB, ui_test_utils::BROWSER_TEST_WAIT_FOR_NAVIGATION);
|
| + WindowOpenDisposition::NEW_FOREGROUND_TAB,
|
| + ui_test_utils::BROWSER_TEST_WAIT_FOR_NAVIGATION);
|
|
|
| // Wait for their titles to appear in the TaskManager. There should be three
|
| // rows.
|
| @@ -286,7 +288,7 @@ IN_PROC_BROWSER_TEST_F(TaskManagerMacTest, SelectionConsistency) {
|
| // Focus and reload one of the sad tabs. It should reappear in the TM. The
|
| // other sad tab should not reappear.
|
| tabs[1]->GetDelegate()->ActivateContents(tabs[1]);
|
| - chrome::Reload(browser(), CURRENT_TAB);
|
| + chrome::Reload(browser(), WindowOpenDisposition::CURRENT_TAB);
|
| ASSERT_NO_FATAL_FAILURE(WaitForTaskManagerRows((rows += 1), pattern));
|
|
|
| // tabs[2] should still be selected.
|
|
|