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

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: fix raster source detection 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 01a4cfd19ec4a53ace4d83314cb4c2dc60bf2774..d17f9751983741b7ae50cda3e290f2c1d65fecd5 100644
--- a/cc/trees/layer_tree_impl.cc
+++ b/cc/trees/layer_tree_impl.cc
@@ -736,10 +736,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