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

Unified Diff: cc/trees/layer_tree_impl.cc

Issue 1823833002: cc : Update render surfaces using LayerListIterator instead of treewalk (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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_impl.cc
diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc
index 074ab1daddf05c99a4a212fc903235839f770066..30add9774e2e572fb10543a3d9c9b963a97890db 100644
--- a/cc/trees/layer_tree_impl.cc
+++ b/cc/trees/layer_tree_impl.cc
@@ -563,7 +563,8 @@ void LayerTreeImpl::SetPageScaleOnActiveTree(float active_page_scale) {
property_trees(), PageScaleLayer(), current_page_scale_factor(),
device_scale_factor(), layer_tree_host_impl_->DrawTransform());
} else {
- DCHECK(!root_layer_ || active_page_scale == 1);
+ DCHECK(!root_layer_ || active_page_scale == 1 ||
+ root_layer_->transform_tree_index() == -1);
jaydasika 2016/03/22 00:19:07 have to remove this (added it to make unit tests p
ajuma 2016/03/22 14:41:55 Could it be that the page_scale_layer_id is invali
}
}
}

Powered by Google App Engine
This is Rietveld 408576698