summaryrefslogtreecommitdiffstats
path: root/cc/test/fake_picture_layer_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/test/fake_picture_layer_impl.cc')
-rw-r--r--cc/test/fake_picture_layer_impl.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/cc/test/fake_picture_layer_impl.cc b/cc/test/fake_picture_layer_impl.cc
index f2a5d5c..79337fb 100644
--- a/cc/test/fake_picture_layer_impl.cc
+++ b/cc/test/fake_picture_layer_impl.cc
@@ -50,8 +50,7 @@ FakePictureLayerImpl::FakePictureLayerImpl(LayerTreeImpl* tree_impl, int id)
scoped_ptr<LayerImpl> FakePictureLayerImpl::CreateLayerImpl(
LayerTreeImpl* tree_impl) {
- return make_scoped_ptr(
- new FakePictureLayerImpl(tree_impl, id())).PassAs<LayerImpl>();
+ return make_scoped_ptr(new FakePictureLayerImpl(tree_impl, id()));
}
void FakePictureLayerImpl::AppendQuads(