| Index: cc/trees/layer_tree_host_unittest_context.cc
|
| diff --git a/cc/trees/layer_tree_host_unittest_context.cc b/cc/trees/layer_tree_host_unittest_context.cc
|
| index 0fef2e34a0072e6009d6bed977b10961f4ff4235..57c780b7aca1b1cc6386b14b71949fbd02139c1f 100644
|
| --- a/cc/trees/layer_tree_host_unittest_context.cc
|
| +++ b/cc/trees/layer_tree_host_unittest_context.cc
|
| @@ -1090,7 +1090,7 @@
|
|
|
| scoped_refptr<PaintedScrollbarLayer> scrollbar =
|
| PaintedScrollbarLayer::Create(
|
| - scoped_ptr<Scrollbar>(new FakeScrollbar).Pass(), content.get());
|
| + scoped_ptr<Scrollbar>(new FakeScrollbar).Pass(), content->id());
|
| scrollbar->SetBounds(gfx::Size(10, 10));
|
| scrollbar->SetAnchorPoint(gfx::PointF());
|
| scrollbar->SetIsDrawable(true);
|
| @@ -1455,8 +1455,8 @@
|
|
|
| virtual void BeginTest() OVERRIDE {
|
| scoped_refptr<Layer> scroll_layer = Layer::Create();
|
| - scrollbar_layer_ = FakePaintedScrollbarLayer::Create(
|
| - false, true, scroll_layer.get());
|
| + scrollbar_layer_ =
|
| + FakePaintedScrollbarLayer::Create(false, true, scroll_layer->id());
|
| scrollbar_layer_->SetBounds(gfx::Size(10, 100));
|
| layer_tree_host()->root_layer()->AddChild(scrollbar_layer_);
|
| layer_tree_host()->root_layer()->AddChild(scroll_layer);
|
|
|