From 5264f22a55503d7c9e34c0aa5b7367e95f8f63fb Mon Sep 17 00:00:00 2001 From: Brandon DeRosier Date: Tue, 15 Nov 2022 20:18:49 -0800 Subject: [PATCH] Fix linter error (flutter/engine#37661) --- engine/src/flutter/shell/common/shell_io_manager.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/engine/src/flutter/shell/common/shell_io_manager.cc b/engine/src/flutter/shell/common/shell_io_manager.cc index 9232db2dd3..f1bb540131 100644 --- a/engine/src/flutter/shell/common/shell_io_manager.cc +++ b/engine/src/flutter/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);