Index: cc/layers/heads_up_display_layer.cc |
diff --git a/cc/layers/heads_up_display_layer.cc b/cc/layers/heads_up_display_layer.cc |
index f230b00736626e1686d0cd3c50b2bdcc8a781655..ff9cad43206e83f888dec5756954fb53c7e0c6bb 100644 |
--- a/cc/layers/heads_up_display_layer.cc |
+++ b/cc/layers/heads_up_display_layer.cc |
@@ -40,7 +40,7 @@ void HeadsUpDisplayLayer::PrepareForCalculateDrawProperties( |
gfx::Transform matrix; |
matrix.MakeIdentity(); |
- if (layer_tree_host()->debug_state().ShowHudRects()) { |
+ if (layer_tree_host()->GetDebugState().ShowHudRects()) { |
bounds = device_viewport_in_layout_pixels; |
} else { |
int size = 256; |