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

Unified Diff: cc/trees/layer_tree_impl.cc

Issue 2390923002: Fix blurry content after disabling dev tools emulation (Closed)
Patch Set: Rename testing function too Created 4 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/trees/layer_tree_impl.cc
diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc
index 8e23b7784f1810fa1188df72aab8d2245c4b1db1..9ae1138aa87c3ebd4c372037af0d5ae5597827cd 100644
--- a/cc/trees/layer_tree_impl.cc
+++ b/cc/trees/layer_tree_impl.cc
@@ -497,6 +497,11 @@ void LayerTreeImpl::MoveChangeTrackingToLayers() {
}
}
+void LayerTreeImpl::ForceRecalculateRasterScales() {
+ for (auto* layer : picture_layers_)
+ layer->ResetRasterScale();
+}
+
LayerImplList::const_iterator LayerTreeImpl::begin() const {
return layer_list_.cbegin();
}

Powered by Google App Engine
This is Rietveld 408576698