| Index: ui/wm/core/shadow.cc
|
| diff --git a/ui/wm/core/shadow.cc b/ui/wm/core/shadow.cc
|
| index dc80187fc9e7cecf210d97d690f9d80aabb8fe6b..ed2795207a522050dca2be3d03f0048534fee353 100644
|
| --- a/ui/wm/core/shadow.cc
|
| +++ b/ui/wm/core/shadow.cc
|
| @@ -187,8 +187,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_);
|
| }
|
|
|
| } // namespace wm
|
|
|