Index: cc/trees/layer_tree_host_unittest_video.cc |
diff --git a/cc/trees/layer_tree_host_unittest_video.cc b/cc/trees/layer_tree_host_unittest_video.cc |
index 51e90ce3ee25d80560d3c33c105a4f22c7a4d611..ae48abaa7b31853643eff6c7d5afec3694a2ed49 100644 |
--- a/cc/trees/layer_tree_host_unittest_video.cc |
+++ b/cc/trees/layer_tree_host_unittest_video.cc |
@@ -48,7 +48,7 @@ class LayerTreeHostVideoTestSetNeedsDisplay |
LayerTreeHostImpl::FrameData* frame, |
DrawResult draw_result) override { |
LayerImpl* root_layer = host_impl->active_tree()->root_layer_for_testing(); |
- RenderSurfaceImpl* root_surface = root_layer->render_surface(); |
+ RenderSurfaceImpl* root_surface = root_layer->GetRenderSurface(); |
gfx::Rect damage_rect; |
EXPECT_TRUE( |
root_surface->damage_tracker()->GetDamageRectIfValid(&damage_rect)); |