Index: cc/layers/nine_patch_layer.cc |
diff --git a/cc/layers/nine_patch_layer.cc b/cc/layers/nine_patch_layer.cc |
index e88a95a63d21a1f11ea93bc760c37f1782b4f6cb..e32f6e0b125230633449e3141994ee2c81d82bed 100644 |
--- a/cc/layers/nine_patch_layer.cc |
+++ b/cc/layers/nine_patch_layer.cc |
@@ -56,6 +56,8 @@ void NinePatchLayer::SetBitmap(const SkBitmap& bitmap, gfx::Rect aperture) { |
bool NinePatchLayer::Update(ResourceUpdateQueue* queue, |
const OcclusionTracker* occlusion) { |
+ bool updated = Layer::Update(queue, occlusion); |
+ |
CreateUpdaterIfNeeded(); |
if (resource_ && |
@@ -68,9 +70,9 @@ bool NinePatchLayer::Update(ResourceUpdateQueue* queue, |
gfx::Vector2d()); |
queue->AppendFullUpload(upload); |
bitmap_dirty_ = false; |
- return true; |
+ updated = true; |
} |
- return false; |
+ return updated; |
} |
void NinePatchLayer::CreateUpdaterIfNeeded() { |