Chromium Code Reviews| Index: cc/layers/nine_patch_layer.cc |
| diff --git a/cc/layers/nine_patch_layer.cc b/cc/layers/nine_patch_layer.cc |
| index e32f6e0b125230633449e3141994ee2c81d82bed..ea366e60fc7b291a8811bde5db0135aca17a5781 100644 |
| --- a/cc/layers/nine_patch_layer.cc |
| +++ b/cc/layers/nine_patch_layer.cc |
| @@ -72,6 +72,11 @@ bool NinePatchLayer::Update(ResourceUpdateQueue* queue, |
| bitmap_dirty_ = false; |
| updated = true; |
| } |
| + |
| + // NinePatchLayer must push properties every commit to make sure |
| + // NinePatchLayerImpl::resource_id_ is valid. |
| + // http://crbug.com/276482 |
| + needs_push_properties_ = true; |
|
danakj
2013/08/20 18:18:04
Cool, just move this to the end of PushPropertiesT
|
| return updated; |
| } |