| Index: ui/compositor/layer.cc
|
| diff --git a/ui/compositor/layer.cc b/ui/compositor/layer.cc
|
| index 8c8a29195c529640c22758434febfdc5e3b7ba7f..1d0556aad42df190acb41091f4af1632c1dff93a 100644
|
| --- a/ui/compositor/layer.cc
|
| +++ b/ui/compositor/layer.cc
|
| @@ -626,6 +626,11 @@ void Layer::UpdateNinePatchLayerAperture(const gfx::Rect& aperture_in_dip) {
|
| nine_patch_layer_->SetAperture(aperture_in_pixel);
|
| }
|
|
|
| +void Layer::UpdateNinePatchLayerBorder(const gfx::Rect& border) {
|
| + DCHECK(type_ == LAYER_NINE_PATCH && nine_patch_layer_.get());
|
| + nine_patch_layer_->SetBorder(border);
|
| +}
|
| +
|
| void Layer::UpdateNinePatchOcclusion(const gfx::Rect& occlusion) {
|
| DCHECK(type_ == LAYER_NINE_PATCH && nine_patch_layer_.get());
|
| nine_patch_layer_->SetLayerOcclusion(occlusion);
|
|
|