| Index: components/exo/shell_surface_unittest.cc
|
| diff --git a/components/exo/shell_surface_unittest.cc b/components/exo/shell_surface_unittest.cc
|
| index 4e3f94e817cd83ed478ecf247285e0d89107ba48..a51bb8b475646b82b20994358c94bd7340d7e2bb 100644
|
| --- a/components/exo/shell_surface_unittest.cc
|
| +++ b/components/exo/shell_surface_unittest.cc
|
| @@ -133,6 +133,11 @@ TEST_F(ShellSurfaceTest, Minimize) {
|
| // Confirm that attaching and commiting doesn't reset the state.
|
| surface->Attach(buffer.get());
|
| surface->Commit();
|
| + EXPECT_TRUE(shell_surface->GetWidget()->IsMinimized());
|
| +
|
| + shell_surface->Restore();
|
| + EXPECT_FALSE(shell_surface->GetWidget()->IsMinimized());
|
| +
|
| shell_surface->Minimize();
|
| EXPECT_TRUE(shell_surface->GetWidget()->IsMinimized());
|
| }
|
|
|