summaryrefslogtreecommitdiffstats
path: root/cc/layers/io_surface_layer_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/layers/io_surface_layer_impl.cc')
-rw-r--r--cc/layers/io_surface_layer_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/layers/io_surface_layer_impl.cc b/cc/layers/io_surface_layer_impl.cc
index e64c9e7..7cb86ce 100644
--- a/cc/layers/io_surface_layer_impl.cc
+++ b/cc/layers/io_surface_layer_impl.cc
@@ -38,7 +38,7 @@ void IOSurfaceLayerImpl::DestroyResource() {
scoped_ptr<LayerImpl> IOSurfaceLayerImpl::CreateLayerImpl(
LayerTreeImpl* tree_impl) {
- return IOSurfaceLayerImpl::Create(tree_impl, id()).PassAs<LayerImpl>();
+ return IOSurfaceLayerImpl::Create(tree_impl, id());
}
void IOSurfaceLayerImpl::PushPropertiesTo(LayerImpl* layer) {