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

Unified Diff: cc/trees/layer_tree_host_unittest_damage.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_perftest.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_unittest_damage.cc
diff --git a/cc/trees/layer_tree_host_unittest_damage.cc b/cc/trees/layer_tree_host_unittest_damage.cc
index d8bde904890b3e05be745e62a2754f57c684d614..c576f9880394e90dcf09fc3ec4a52c5e3738d62a 100644
--- a/cc/trees/layer_tree_host_unittest_damage.cc
+++ b/cc/trees/layer_tree_host_unittest_damage.cc
@@ -275,7 +275,7 @@ class LayerTreeHostDamageTestForcedFullDamage : public LayerTreeHostDamageTest {
EXPECT_TRUE(frame_data->has_no_damage);
// Then we set full damage for the next frame.
- host_impl->SetFullRootLayerDamage();
+ host_impl->SetFullViewportDamage();
break;
case 2:
// The whole frame should be damaged as requested.
@@ -294,7 +294,7 @@ class LayerTreeHostDamageTestForcedFullDamage : public LayerTreeHostDamageTest {
// If we damage part of the frame, but also damage the full
// frame, then the whole frame should be damaged.
child_damage_rect_ = gfx::Rect(10, 11, 12, 13);
- host_impl->SetFullRootLayerDamage();
+ host_impl->SetFullViewportDamage();
break;
case 4:
// The whole frame is damaged.
« no previous file with comments | « cc/trees/layer_tree_host_perftest.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698