commit | 145dbcd165d9d27298eb8888bc240e2d06a95464 | [log] [tgz] |
---|---|---|
author | Ben Wagner <bungeman@google.com> | Thu Nov 03 14:40:50 2016 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Nov 03 19:03:40 2016 +0000 |
tree | 461ac2a3fe607bdf1d72fd72ae9451a58490a1bc | |
parent | b1c7f88df9ec40b4efb52d314304adfbaf95697c [diff] [blame] |
Remove SkAutoTDelete. Replace with std::unique_ptr. Change-Id: I5806cfbb30515fcb20e5e66ce13fb5f3b8728176 Reviewed-on: https://skia-review.googlesource.com/4381 Commit-Queue: Ben Wagner <bungeman@google.com> Reviewed-by: Mike Klein <mtklein@chromium.org>
diff --git a/tools/gpu/GrContextFactory.cpp b/tools/gpu/GrContextFactory.cpp index 4f18994..79489f4 100644 --- a/tools/gpu/GrContextFactory.cpp +++ b/tools/gpu/GrContextFactory.cpp
@@ -101,7 +101,7 @@ return ContextInfo(context.fBackend, context.fTestContext, context.fGrContext); } } - SkAutoTDelete<TestContext> testCtx; + std::unique_ptr<TestContext> testCtx; sk_sp<GrContext> grCtx; GrBackendContext backendContext = 0; sk_sp<const GrGLInterface> glInterface;