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

Unified Diff: cc/trees/layer_tree_host_common.cc

Issue 1088773003: Reuse property trees (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no more first tick nonsense. Created 5 years, 8 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/trees/layer_tree_host_common.cc
diff --git a/cc/trees/layer_tree_host_common.cc b/cc/trees/layer_tree_host_common.cc
index cdb67611826cc66e8cb3af2567c46f5a84729c48..d6b3adf8d70a3751cae705e3de219bd9ab9d73bd 100644
--- a/cc/trees/layer_tree_host_common.cc
+++ b/cc/trees/layer_tree_host_common.cc
@@ -2556,7 +2556,10 @@ void LayerTreeHostCommon::CalculateDrawProperties(
current_layer->draw_opacity() ==
current_layer->DrawOpacityFromPropertyTrees(
inputs->property_trees->opacity_tree);
- CHECK(draw_opacities_match);
+ CHECK(draw_opacities_match)
enne (OOO) 2015/04/16 21:49:33 This seems like it should get done in a separate p
Ian Vollick 2015/04/17 14:56:22 Done.
+ << "expected: " << current_layer->draw_opacity() << " actual: "
+ << current_layer->DrawOpacityFromPropertyTrees(
+ inputs->property_trees->opacity_tree);
}
}

Powered by Google App Engine
This is Rietveld 408576698