| Index: mash/wm/shadow.cc
|
| diff --git a/mash/wm/shadow.cc b/mash/wm/shadow.cc
|
| index 5de5c452fa1296f2f1d320d75f01319949f77724..7d96b70b81112ffc33d3257cc4bc9a6e7d1c7e6b 100644
|
| --- a/mash/wm/shadow.cc
|
| +++ b/mash/wm/shadow.cc
|
| @@ -199,8 +199,9 @@ void Shadow::UpdateLayerBounds() {
|
| gfx::Rect(aperture_x, aperture_y,
|
| image_size_.width() - aperture_x * 2,
|
| image_size_.height() - aperture_y * 2));
|
| - shadow_layer_->UpdateNinePatchOcclusion(
|
| - content_bounds_ + gfx::Vector2d(interior_inset_, interior_inset_));
|
| + shadow_layer_->UpdateNinePatchLayerBorder(
|
| + gfx::Rect(aperture_x, aperture_y, aperture_x * 2, aperture_y * 2));
|
| + shadow_layer_->UpdateNinePatchOcclusion(content_bounds_);
|
| }
|
|
|
| void Shadow::OnWindowDestroyed(mus::Window* window) {
|
|
|