Index: cc/test/layer_tree_host_common_test.cc |
diff --git a/cc/test/layer_tree_host_common_test.cc b/cc/test/layer_tree_host_common_test.cc |
index f40926b4998646b290c8c446d1f3516ca9983756..b8f8e0aec41665fb083eff220e223357cd134f47 100644 |
--- a/cc/test/layer_tree_host_common_test.cc |
+++ b/cc/test/layer_tree_host_common_test.cc |
@@ -102,7 +102,8 @@ void LayerTreeHostCommonTestBase:: |
bool can_render_to_separate_surface = true; |
- Layer* page_scale_layer = nullptr; |
+ const Layer* page_scale_layer = |
+ root_layer->layer_tree_host()->page_scale_layer(); |
Layer* inner_viewport_scroll_layer = |
root_layer->layer_tree_host()->inner_viewport_scroll_layer(); |
Layer* outer_viewport_scroll_layer = |