| Index: chrome/browser/ui/views/task_manager_view_browsertest.cc
|
| diff --git a/chrome/browser/ui/views/task_manager_view_browsertest.cc b/chrome/browser/ui/views/task_manager_view_browsertest.cc
|
| index eb9ddc117d82d8bd747f4cc030f0fa3d3ced1ee1..d6f996e883eec392eba74c757e384dcd98ce92e6 100644
|
| --- a/chrome/browser/ui/views/task_manager_view_browsertest.cc
|
| +++ b/chrome/browser/ui/views/task_manager_view_browsertest.cc
|
| @@ -200,7 +200,8 @@ IN_PROC_BROWSER_TEST_F(TaskManagerViewTest, InitialSelection) {
|
|
|
| ui_test_utils::NavigateToURLWithDisposition(
|
| browser(), embedded_test_server()->GetURL("b.com", "/title3.html"),
|
| - NEW_FOREGROUND_TAB, ui_test_utils::BROWSER_TEST_WAIT_FOR_NAVIGATION);
|
| + WindowOpenDisposition::NEW_FOREGROUND_TAB,
|
| + ui_test_utils::BROWSER_TEST_WAIT_FOR_NAVIGATION);
|
|
|
| // When the task manager is initially shown, the row for the active tab should
|
| // be selected.
|
| @@ -235,10 +236,12 @@ IN_PROC_BROWSER_TEST_F(TaskManagerViewTest, 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.
|
| @@ -310,7 +313,7 @@ IN_PROC_BROWSER_TEST_F(TaskManagerViewTest, 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.
|
|
|