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

Unified Diff: cc/trees/layer_tree_impl.cc

Issue 2254543003: cc: Delete the RendererClient class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@setvisible-browser
Patch Set: deleterendererclient: rebase Created 4 years, 4 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 | « cc/trees/layer_tree_host_unittest_damage.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_impl.cc
diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc
index 0f0a4da885297f60b68da03d91be19dcaf6303dd..1f77eb65d203d338265f91bfb25329fd07b2485a 100644
--- a/cc/trees/layer_tree_impl.cc
+++ b/cc/trees/layer_tree_impl.cc
@@ -831,7 +831,7 @@ void LayerTreeImpl::SetDeviceScaleFactor(float device_scale_factor) {
set_needs_update_draw_properties();
if (IsActiveTree())
- layer_tree_host_impl_->SetFullRootLayerDamage();
+ layer_tree_host_impl_->SetFullViewportDamage();
}
SyncedProperty<ScaleGroup>* LayerTreeImpl::page_scale_factor() {
@@ -1202,7 +1202,7 @@ size_t LayerTreeImpl::NumLayers() {
void LayerTreeImpl::DidBecomeActive() {
if (next_activation_forces_redraw_) {
- layer_tree_host_impl_->SetFullRootLayerDamage();
+ layer_tree_host_impl_->SetFullViewportDamage();
next_activation_forces_redraw_ = false;
}
« no previous file with comments | « cc/trees/layer_tree_host_unittest_damage.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698