Index: cc/layers/io_surface_layer.cc |
diff --git a/cc/layers/io_surface_layer.cc b/cc/layers/io_surface_layer.cc |
index 0682aee8a2407bd859f47d4ac77b8eb373a2734b..05d5fb90f0414a137040d5035ce4bf690cf67fbc 100644 |
--- a/cc/layers/io_surface_layer.cc |
+++ b/cc/layers/io_surface_layer.cc |
@@ -26,7 +26,7 @@ void IOSurfaceLayer::SetIOSurfaceProperties(uint32_t io_surface_id, |
scoped_ptr<LayerImpl> IOSurfaceLayer::CreateLayerImpl( |
LayerTreeImpl* tree_impl) { |
- return IOSurfaceLayerImpl::Create(tree_impl, layer_id_).PassAs<LayerImpl>(); |
+ return IOSurfaceLayerImpl::Create(tree_impl, layer_id_); |
} |
bool IOSurfaceLayer::HasDrawableContent() const { |