Index: cc/trees/layer_tree_host_unittest.cc |
diff --git a/cc/trees/layer_tree_host_unittest.cc b/cc/trees/layer_tree_host_unittest.cc |
index 8dda0355bad588a185dc9e3865d5b61958cb0df4..3ac7aa15d6ec0fe06c61fd288accb1c43accb98e 100644 |
--- a/cc/trees/layer_tree_host_unittest.cc |
+++ b/cc/trees/layer_tree_host_unittest.cc |
@@ -1524,17 +1524,17 @@ class LayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit |
virtual void DrawLayersOnThread(LayerTreeHostImpl* host_impl) OVERRIDE { |
Renderer* renderer = host_impl->renderer(); |
- RenderPass::Id surface1_render_pass_id = host_impl->active_tree() |
- ->root_layer() |
- ->children()[0] |
- ->render_surface() |
- ->RenderPassId(); |
- RenderPass::Id surface2_render_pass_id = host_impl->active_tree() |
- ->root_layer() |
- ->children()[0] |
- ->children()[0] |
- ->render_surface() |
- ->RenderPassId(); |
+ RenderPassId surface1_render_pass_id = host_impl->active_tree() |
+ ->root_layer() |
+ ->children()[0] |
+ ->render_surface() |
+ ->GetRenderPassId(); |
+ RenderPassId surface2_render_pass_id = host_impl->active_tree() |
+ ->root_layer() |
+ ->children()[0] |
+ ->children()[0] |
+ ->render_surface() |
+ ->GetRenderPassId(); |
switch (host_impl->active_tree()->source_frame_number()) { |
case 0: |