| Index: ash/launcher/launcher_view_unittest.cc
|
| diff --git a/ash/launcher/launcher_view_unittest.cc b/ash/launcher/launcher_view_unittest.cc
|
| index 6ca05b0df574b1dba311eb4649354b248b5319cd..989c584db248284053df8e7b5acde7cc13c7a52c 100644
|
| --- a/ash/launcher/launcher_view_unittest.cc
|
| +++ b/ash/launcher/launcher_view_unittest.cc
|
| @@ -535,20 +535,20 @@ TEST_F(LauncherViewTest, BrowserHidesExcessPanels) {
|
| }
|
|
|
| // The first panel should now be hidden by the new browsers needing space.
|
| - EXPECT_FALSE(GetButtonByID(first_panel)->visible());
|
| - EXPECT_TRUE(GetButtonByID(last_panel)->visible());
|
| + EXPECT_TRUE(GetButtonByID(first_panel)->visible());
|
| + EXPECT_FALSE(GetButtonByID(last_panel)->visible());
|
| EXPECT_TRUE(GetButtonByID(browser)->visible());
|
|
|
| // Adding browsers should eventually begin to hide browsers. We will add
|
| // browsers until either the last panel or browser is hidden.
|
| items_added = 0;
|
| while (GetButtonByID(browser)->visible() &&
|
| - GetButtonByID(last_panel)->visible()) {
|
| + GetButtonByID(first_panel)->visible()) {
|
| browser = AddTabbedBrowser();
|
| ++items_added;
|
| ASSERT_LT(items_added, 10000);
|
| }
|
| - EXPECT_TRUE(GetButtonByID(last_panel)->visible());
|
| + EXPECT_TRUE(GetButtonByID(first_panel)->visible());
|
| EXPECT_FALSE(GetButtonByID(browser)->visible());
|
| }
|
|
|
|
|