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. |