| Index: cc/test/fake_painted_scrollbar_layer.cc
|
| diff --git a/cc/test/fake_painted_scrollbar_layer.cc b/cc/test/fake_painted_scrollbar_layer.cc
|
| index 72ef420a89c26f4320a2cbdcef564e3fe57ffb98..b9d7e81d2b74786addfbb521eab21aff9e15ba74 100644
|
| --- a/cc/test/fake_painted_scrollbar_layer.cc
|
| +++ b/cc/test/fake_painted_scrollbar_layer.cc
|
| @@ -14,8 +14,14 @@ scoped_refptr<FakePaintedScrollbarLayer> FakePaintedScrollbarLayer::Create(
|
| bool paint_during_update,
|
| bool has_thumb,
|
| int scrolling_layer_id) {
|
| - FakeScrollbar* fake_scrollbar = new FakeScrollbar(
|
| - paint_during_update, has_thumb, false);
|
| + return Create(paint_during_update, has_thumb, scrolling_layer_id,
|
| + new FakeScrollbar(paint_during_update, has_thumb, false));
|
| +}
|
| +scoped_refptr<FakePaintedScrollbarLayer> FakePaintedScrollbarLayer::Create(
|
| + bool paint_during_update,
|
| + bool has_thumb,
|
| + int scrolling_layer_id,
|
| + FakeScrollbar* fake_scrollbar) {
|
| return make_scoped_refptr(new FakePaintedScrollbarLayer(
|
| fake_scrollbar, scrolling_layer_id));
|
| }
|
|
|