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

Unified Diff: cc/trees/layer_tree_host_impl.cc

Issue 2253233003: cc : Add OnOpacityAnimated to effect tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 4 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_impl.cc
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
index e8348462663420c8cacdd4407214991975fc40d6..57885eb15590c428e8246886e80685beed25e40a 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -3918,7 +3918,8 @@ void LayerTreeHostImpl::SetTreeLayerOpacityMutated(ElementId element_id,
LayerImpl* layer = tree->LayerByElementId(element_id);
if (layer)
- layer->OnOpacityAnimated(opacity);
+ tree->property_trees()->effect_tree.OnOpacityAnimated(
+ opacity, layer->effect_tree_index(), tree);
ajuma 2016/08/18 18:49:26 Can we get the effect tree index from the id to in
jaydasika 2016/08/18 19:57:52 Acknowledged. Will do that in a separate CL.
}
void LayerTreeHostImpl::SetTreeLayerTransformMutated(

Powered by Google App Engine
This is Rietveld 408576698