Index: cc/layers/painted_scrollbar_layer_unittest.cc |
diff --git a/cc/layers/painted_scrollbar_layer_unittest.cc b/cc/layers/painted_scrollbar_layer_unittest.cc |
index 0ab34b8f37c681befb3d8c144f8e0a113ae5657b..b43c7379e78537dd7772c3442ccea22d9f8b19df 100644 |
--- a/cc/layers/painted_scrollbar_layer_unittest.cc |
+++ b/cc/layers/painted_scrollbar_layer_unittest.cc |
@@ -42,7 +42,8 @@ TEST(PaintedScrollbarLayerTest, NeedsPaint) { |
scrollbar_layer->SetBounds(gfx::Size(100, 100)); |
layer_tree_host_->SetRootLayer(scrollbar_layer); |
- EXPECT_EQ(scrollbar_layer->layer_tree_host(), layer_tree_host_.get()); |
+ EXPECT_EQ(scrollbar_layer->GetLayerTreeHostForTesting(), |
+ layer_tree_host_.get()); |
scrollbar_layer->SavePaintProperties(); |
// Request no paint, but expect them to be painted because they have not |