| Index: components/exo/shell_surface_unittest.cc
|
| diff --git a/components/exo/shell_surface_unittest.cc b/components/exo/shell_surface_unittest.cc
|
| index d88d5468988261e2ac0b03e386451475bbef5413..d590cbb3df050ca7001ee056a9196f1cdd2fd4a8 100644
|
| --- a/components/exo/shell_surface_unittest.cc
|
| +++ b/components/exo/shell_surface_unittest.cc
|
| @@ -832,20 +832,6 @@ TEST_F(ShellSurfaceTest, ShadowStartMaximized) {
|
| ASSERT_TRUE(shell_surface->shadow_underlay());
|
| EXPECT_TRUE(shell_surface->shadow_underlay()->IsVisible());
|
|
|
| - shell_surface->SetRectangularSurfaceShadow(gfx::Rect(0, 0, 0, 0));
|
| - // Underlay should be created even without shadow.
|
| - ASSERT_TRUE(shell_surface->shadow_underlay());
|
| - EXPECT_TRUE(shell_surface->shadow_underlay()->IsVisible());
|
| - shell_surface->SetRectangularShadowEnabled(false);
|
| - surface->Commit();
|
| - // Underlay should be created even without shadow.
|
| - ASSERT_TRUE(shell_surface->shadow_underlay());
|
| - EXPECT_TRUE(shell_surface->shadow_underlay()->IsVisible());
|
| -
|
| - shell_surface->SetRectangularShadowEnabled(true);
|
| - shell_surface->SetRectangularSurfaceShadow(gfx::Rect(10, 10, 100, 100));
|
| - surface->Commit();
|
| -
|
| // Restore the window and make sure the shadow is created, visible and
|
| // has the latest bounds.
|
| widget->Restore();
|
|
|