| Index: components/exo/shell_surface_unittest.cc
|
| diff --git a/components/exo/shell_surface_unittest.cc b/components/exo/shell_surface_unittest.cc
|
| index 483ecc8d768b16014cde2ad48e79201b374c40c9..746184183ca560c94c5060169918a7dd8ae30e21 100644
|
| --- a/components/exo/shell_surface_unittest.cc
|
| +++ b/components/exo/shell_surface_unittest.cc
|
| @@ -43,6 +43,8 @@ uint32_t ConfigureFullscreen(uint32_t serial,
|
| return serial;
|
| }
|
|
|
| +} // namespace
|
| +
|
| TEST_F(ShellSurfaceTest, AcknowledgeConfigure) {
|
| gfx::Size buffer_size(32, 32);
|
| std::unique_ptr<Buffer> buffer(
|
| @@ -599,6 +601,9 @@ TEST_F(ShellSurfaceTest, ShadowStartMaximized) {
|
| surface->Commit();
|
|
|
| EXPECT_FALSE(wm::ShadowController::GetShadowForWindow(window));
|
| + // Underlay should be created even without shadow.
|
| + ASSERT_TRUE(shell_surface->shadow_underlay_);
|
| + EXPECT_TRUE(shell_surface->shadow_underlay_->IsVisible());
|
|
|
| // Restore the window and make sure the shadow is created, visible and
|
| // has the latest bounds.
|
| @@ -644,5 +649,4 @@ TEST_F(ShellSurfaceTest, ToggleFullscreen) {
|
| shell_surface->GetWidget()->GetWindowBoundsInScreen().width());
|
| }
|
|
|
| -} // namespace
|
| } // namespace exo
|
|
|