| Index: ash/shell_unittest.cc
|
| diff --git a/ash/shell_unittest.cc b/ash/shell_unittest.cc
|
| index 7777ef0c472752008a1ae6165db33ce063b93506..9f5ff3ae02ff1effe3aa5ff3893e8d613c76444d 100644
|
| --- a/ash/shell_unittest.cc
|
| +++ b/ash/shell_unittest.cc
|
| @@ -336,15 +336,18 @@ TEST_F(ShellTest, FullscreenWindowHidesShelf) {
|
| EXPECT_FALSE(widget->IsMaximized());
|
|
|
| // Shelf defaults to visible.
|
| - EXPECT_TRUE(Shell::GetInstance()->shelf()->visible());
|
| + EXPECT_EQ(internal::ShelfLayoutManager::VISIBLE,
|
| + Shell::GetInstance()->shelf()->visibility_state());
|
|
|
| // Fullscreen window hides it.
|
| widget->SetFullscreen(true);
|
| - EXPECT_FALSE(Shell::GetInstance()->shelf()->visible());
|
| + EXPECT_EQ(internal::ShelfLayoutManager::HIDDEN,
|
| + Shell::GetInstance()->shelf()->visibility_state());
|
|
|
| // Restoring the window restores it.
|
| widget->Restore();
|
| - EXPECT_TRUE(Shell::GetInstance()->shelf()->visible());
|
| + EXPECT_EQ(internal::ShelfLayoutManager::VISIBLE,
|
| + Shell::GetInstance()->shelf()->visibility_state());
|
|
|
| // Clean up.
|
| widget->Close();
|
|
|