Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3797)

Unified Diff: cc/layers/nine_patch_layer.cc

Issue 16903005: Add layer name into frame viewer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase code Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..e20b133135323c3b6a087183418710e545557161 100644
--- a/cc/layers/nine_patch_layer.cc
+++ b/cc/layers/nine_patch_layer.cc
@@ -57,6 +57,7 @@ void NinePatchLayer::SetBitmap(const SkBitmap& bitmap, gfx::Rect aperture) {
bool NinePatchLayer::Update(ResourceUpdateQueue* queue,
const OcclusionTracker* occlusion) {
CreateUpdaterIfNeeded();
+ Layer::Update(queue, occlusion);
if (resource_ &&
(bitmap_dirty_ || resource_->texture()->resource_id() == 0)) {

Powered by Google App Engine
This is Rietveld 408576698