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

Unified Diff: cc/layers/contents_scaling_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/contents_scaling_layer.cc
diff --git a/cc/layers/contents_scaling_layer.cc b/cc/layers/contents_scaling_layer.cc
index 03a790b67dd07fa44c75d2ca3ec0b895ffdcc311..7855e78a46b45d2bfca6602c2788bbc447ce36db 100644
--- a/cc/layers/contents_scaling_layer.cc
+++ b/cc/layers/contents_scaling_layer.cc
@@ -38,6 +38,8 @@ void ContentsScalingLayer::CalculateContentsScale(
bool ContentsScalingLayer::Update(
ResourceUpdateQueue* queue,
const OcclusionTracker* occlusion) {
+ Layer::Update(queue, occlusion);
+
if (draw_properties().contents_scale_x == last_update_contents_scale_x_ &&
draw_properties().contents_scale_y == last_update_contents_scale_y_)
return false;

Powered by Google App Engine
This is Rietveld 408576698