Chromium Code Reviews| 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..cea79999f13fd5129e96907aca4ce15d1ac60657 100644 |
| --- a/components/exo/shell_surface_unittest.cc |
| +++ b/components/exo/shell_surface_unittest.cc |
| @@ -133,8 +133,10 @@ TEST_F(ShellSurfaceTest, Minimize) { |
| // Confirm that attaching and commiting doesn't reset the state. |
| surface->Attach(buffer.get()); |
| surface->Commit(); |
| - shell_surface->Minimize(); |
| EXPECT_TRUE(shell_surface->GetWidget()->IsMinimized()); |
| + |
| + shell_surface->Restore(); |
| + EXPECT_FALSE(shell_surface->GetWidget()->IsMinimized()); |
|
reveman
2016/11/25 21:38:54
nit: after this, can you also:
shell_surface->Mini
mtomasz
2016/11/28 09:01:44
Done.
|
| } |
| TEST_F(ShellSurfaceTest, Restore) { |