| Index: cc/test/fake_content_layer_impl.cc
|
| diff --git a/cc/test/fake_content_layer_impl.cc b/cc/test/fake_content_layer_impl.cc
|
| index eb35bb6aacbaf0040b019199fa87cb4cd604a295..54c62d01adefb633b732bf538655cb8188924ecc 100644
|
| --- a/cc/test/fake_content_layer_impl.cc
|
| +++ b/cc/test/fake_content_layer_impl.cc
|
| @@ -6,15 +6,19 @@
|
|
|
| namespace cc {
|
|
|
| -FakeContentLayerImpl::FakeContentLayerImpl(LayerTreeImpl* tree_impl, int id)
|
| - : TiledLayerImpl(tree_impl, id), lost_output_surface_count_(0) {
|
| +FakeContentLayerImpl::FakeContentLayerImpl(
|
| + LayerTreeImpl* tree_impl,
|
| + int id,
|
| + scoped_refptr<LayerImpl::SyncedScrollOffset> synced_scroll_offset)
|
| + : TiledLayerImpl(tree_impl, id, synced_scroll_offset),
|
| + lost_output_surface_count_(0) {
|
| }
|
|
|
| FakeContentLayerImpl::~FakeContentLayerImpl() {}
|
|
|
| scoped_ptr<LayerImpl> FakeContentLayerImpl::CreateLayerImpl(
|
| LayerTreeImpl* tree_impl) {
|
| - return FakeContentLayerImpl::Create(tree_impl, id());
|
| + return FakeContentLayerImpl::Create(tree_impl, id(), synced_scroll_offset());
|
| }
|
|
|
| bool FakeContentLayerImpl::HaveResourceForTileAt(int i, int j) {
|
|
|