| Index: components/exo/shell_surface_unittest.cc
|
| diff --git a/components/exo/shell_surface_unittest.cc b/components/exo/shell_surface_unittest.cc
|
| index 575dafc6d6f9d26540c2bc94ec67a8651d594d87..8675fa25ead70bff01f2e7d8ac33f56c793186c2 100644
|
| --- a/components/exo/shell_surface_unittest.cc
|
| +++ b/components/exo/shell_surface_unittest.cc
|
| @@ -126,6 +126,11 @@ TEST_F(ShellSurfaceTest, Minimize) {
|
| std::unique_ptr<Surface> surface(new Surface);
|
| std::unique_ptr<ShellSurface> shell_surface(new ShellSurface(surface.get()));
|
|
|
| + // Minimizing can be performed before the surface is committed.
|
| + shell_surface->Minimize();
|
| + EXPECT_TRUE(shell_surface->GetWidget()->IsMinimized());
|
| +
|
| + // Confirm that attaching and commiting doesn't reset the state.
|
| surface->Attach(buffer.get());
|
| surface->Commit();
|
| shell_surface->Minimize();
|
|
|