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

Unified Diff: cc/trees/layer_tree_impl.cc

Issue 1131633003: cc: Use multiple PrepareTiles approaches Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 27688591420284b6853c22b0b7cb93350d623402..b85029d1b2dbcccec459652a58e9e488da22b2c1 100644
--- a/cc/trees/layer_tree_impl.cc
+++ b/cc/trees/layer_tree_impl.cc
@@ -735,10 +735,6 @@ void LayerTreeImpl::DidBecomeActive() {
root_layer(), scrolling_layer_id_from_previous_tree_);
}
- // Always reset this flag on activation, as we would only have activated
- // if we were in a good state.
- layer_tree_host_impl_->ResetRequiresHighResToDraw();
-
if (root_layer()) {
LayerTreeHostCommon::CallFunctionForSubtree(
root_layer(), [](LayerImpl* layer) { layer->DidBecomeActive(); });

Powered by Google App Engine
This is Rietveld 408576698