diff options
Diffstat (limited to 'cc/layers/scrollbar_layer_unittest.cc')
-rw-r--r-- | cc/layers/scrollbar_layer_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/layers/scrollbar_layer_unittest.cc b/cc/layers/scrollbar_layer_unittest.cc index ae87b30..f80e4ca 100644 --- a/cc/layers/scrollbar_layer_unittest.cc +++ b/cc/layers/scrollbar_layer_unittest.cc @@ -457,7 +457,7 @@ class ScrollbarLayerTestResourceCreation : public testing::Test { scrollbar_layer->draw_properties().visible_content_rect = gfx::Rect(0, 0, 100, 200); scrollbar_layer->CreateRenderSurface(); - scrollbar_layer->draw_properties().render_target = scrollbar_layer; + scrollbar_layer->draw_properties().render_target = scrollbar_layer.get(); testing::Mock::VerifyAndClearExpectations(layer_tree_host_.get()); EXPECT_EQ(scrollbar_layer->layer_tree_host(), layer_tree_host_.get()); @@ -536,7 +536,7 @@ class ScaledScrollbarLayerTestResourceCreation : public testing::Test { scaled_size.width(), scaled_size.height()); scrollbar_layer->CreateRenderSurface(); - scrollbar_layer->draw_properties().render_target = scrollbar_layer; + scrollbar_layer->draw_properties().render_target = scrollbar_layer.get(); testing::Mock::VerifyAndClearExpectations(layer_tree_host_.get()); EXPECT_EQ(scrollbar_layer->layer_tree_host(), layer_tree_host_.get()); |