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

Unified Diff: cc/layer_tree_host_common.cc

Issue 10690168: Aura: Resize locks with --ui-enable-threaded-compositing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moved needing to kick a frame logic up to RWHVA from Compositor. Created 8 years, 2 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/layer_tree_host_common.cc
diff --git a/cc/layer_tree_host_common.cc b/cc/layer_tree_host_common.cc
index 24274a6f6f59f4213fdfc1fe73a6070a74b84329..aa55df438f7c325a7d89c388501d74f3deb95633 100644
--- a/cc/layer_tree_host_common.cc
+++ b/cc/layer_tree_host_common.cc
@@ -212,7 +212,7 @@ static inline bool subtreeShouldBeSkipped(LayerChromium* 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();
+ return layer->deferUpdates() || (!layer->opacity() && !layer->opacityIsAnimating());
}
template<typename LayerType>

Powered by Google App Engine
This is Rietveld 408576698