scoped_ptr<LayerImpl> PictureImageLayer::CreateLayerImpl(
LayerTreeImpl* tree_impl) {
- return PictureImageLayerImpl::Create(tree_impl, id()).PassAs<LayerImpl>();
+ return PictureImageLayerImpl::Create(tree_impl, id());
}
bool PictureImageLayer::HasDrawableContent() const {