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

Unified Diff: cc/layers/layer.cc

Issue 1166613003: cc: Change Layer::PushProps conditional to say what it means (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer.cc
diff --git a/cc/layers/layer.cc b/cc/layers/layer.cc
index d795670192770cf273875a4bf29e67db9a660aa0..af3fc67471c847f0d6fbaf5dadc00d0838b983e5 100644
--- a/cc/layers/layer.cc
+++ b/cc/layers/layer.cc
@@ -1150,7 +1150,7 @@ void Layer::PushPropertiesTo(LayerImpl* layer) {
// TODO(enne): This is needed because CDP does this. Once main thread CDP
// goes away, content scale / bounds can be removed.
- if (layer_tree_host()->settings().impl_side_painting) {
+ if (layer_tree_host()->using_only_property_trees()) {
layer->SetContentsScale(1.f, 1.f);
layer->SetContentBounds(bounds());
} else {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698