summaryrefslogtreecommitdiffstats
path: root/cc/layers/surface_layer_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/layers/surface_layer_impl.cc')
-rw-r--r--cc/layers/surface_layer_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/layers/surface_layer_impl.cc b/cc/layers/surface_layer_impl.cc
index 352aca6..0b102f2 100644
--- a/cc/layers/surface_layer_impl.cc
+++ b/cc/layers/surface_layer_impl.cc
@@ -19,7 +19,7 @@ SurfaceLayerImpl::~SurfaceLayerImpl() {}
scoped_ptr<LayerImpl> SurfaceLayerImpl::CreateLayerImpl(
LayerTreeImpl* tree_impl) {
- return SurfaceLayerImpl::Create(tree_impl, id());
+ return SurfaceLayerImpl::Create(tree_impl, id()).PassAs<LayerImpl>();
}
void SurfaceLayerImpl::SetSurfaceId(SurfaceId surface_id) {