diff --git a/shell/common/shell_io_manager.cc b/shell/common/shell_io_manager.cc index 9232db2dd3a58..f1bb540131e79 100644 --- a/shell/common/shell_io_manager.cc +++ b/shell/common/shell_io_manager.cc @@ -22,8 +22,7 @@ sk_sp ShellIOManager::CreateCompatibleResourceLoadingContext( const auto options = MakeDefaultContextOptions(ContextType::kResource); - if (auto context = - GrDirectContext::MakeGL(std::move(gl_interface), options)) { + if (auto context = GrDirectContext::MakeGL(gl_interface, options)) { // Do not cache textures created by the image decoder. These textures // should be deleted when they are no longer referenced by an SkImage. context->setResourceCacheLimit(0);