Index: cc/layer_tree_host_common.cc |
diff --git a/cc/layer_tree_host_common.cc b/cc/layer_tree_host_common.cc |
index 5d730ccf1c6aca51de2a7d301f925556b3e90d3e..b59e2a9da8c9e20ff16bcfae7c69e5c70cddb1ca 100644 |
--- a/cc/layer_tree_host_common.cc |
+++ b/cc/layer_tree_host_common.cc |
@@ -232,7 +232,10 @@ static inline bool subtreeShouldBeSkipped(Layer* layer) |
// If the opacity is being animated then the opacity on the main thread is unreliable |
// (since the impl thread may be using a different opacity), so it should not be trusted. |
// In particular, it should not cause the subtree to be skipped. |
- return !layer->opacity() && !layer->OpacityIsAnimating(); |
+ // Similarly, for layers that might animate opacity using an impl-only |
+ // animation, their subtree should also not be skipped. |
+ return !layer->opacity() && !layer->OpacityIsAnimating() && |
+ !layer->OpacityCanAnimateOnImplThread(); |
} |
// Called on each layer that could be drawn after all information from |