Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 21a572e

Browse files
authored
Fix linter error (#37661)
1 parent 06b2d44 commit 21a572e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

shell/common/shell_io_manager.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ sk_sp<GrDirectContext> ShellIOManager::CreateCompatibleResourceLoadingContext(
2222

2323
const auto options = MakeDefaultContextOptions(ContextType::kResource);
2424

25-
if (auto context =
26-
GrDirectContext::MakeGL(std::move(gl_interface), options)) {
25+
if (auto context = GrDirectContext::MakeGL(gl_interface, options)) {
2726
// Do not cache textures created by the image decoder. These textures
2827
// should be deleted when they are no longer referenced by an SkImage.
2928
context->setResourceCacheLimit(0);

0 commit comments

Comments
 (0)