Index: cc/trees/layer_tree_host_impl_unittest.cc |
diff --git a/cc/trees/layer_tree_host_impl_unittest.cc b/cc/trees/layer_tree_host_impl_unittest.cc |
index 696e1de46515963d207e030c8e428e56a0406bdb..6661f065096e1899342d575d65926d70953f79fd 100644 |
--- a/cc/trees/layer_tree_host_impl_unittest.cc |
+++ b/cc/trees/layer_tree_host_impl_unittest.cc |
@@ -7475,11 +7475,11 @@ TEST_F(LayerTreeHostImplTest, HasTransparentBackground) { |
host_impl_->SwapBuffers(frame); |
// Cause damage so we would draw something if possible. |
- host_impl_->SetFullRootLayerDamage(); |
+ host_impl_->SetFullViewportDamage(); |
// Verify no quads are drawn when transparent background is set. |
host_impl_->active_tree()->set_has_transparent_background(true); |
- host_impl_->SetFullRootLayerDamage(); |
+ host_impl_->SetFullViewportDamage(); |
EXPECT_EQ(DRAW_SUCCESS, host_impl_->PrepareToDraw(&frame)); |
{ |
const auto& root_pass = frame.render_passes.back(); |