aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/gpu/gl/egl
diff options
context:
space:
mode:
authorGravatar Hal Canary <halcanary@google.com>2016-11-03 16:26:13 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-11-03 21:00:34 +0000
commit1b612a89fba2275e3effe12bdc9b6cdc2f4d9eee (patch)
tree9a1d89d5c6499ce60f3b109f1a03e46ce33e6390 /tools/gpu/gl/egl
parent1b96c6f91377431cd407c43fedac613fff21c2ed (diff)
tools: s/SkAutoTUnref/sk_sp/
BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4391 Change-Id: Iae8b032b00d3579c77f3b86370dde71c4649da45 Reviewed-on: https://skia-review.googlesource.com/4391 Reviewed-by: Ben Wagner <bungeman@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
Diffstat (limited to 'tools/gpu/gl/egl')
-rw-r--r--tools/gpu/gl/egl/CreatePlatformGLTestContext_egl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gpu/gl/egl/CreatePlatformGLTestContext_egl.cpp b/tools/gpu/gl/egl/CreatePlatformGLTestContext_egl.cpp
index b2517f090e..a281559a6d 100644
--- a/tools/gpu/gl/egl/CreatePlatformGLTestContext_egl.cpp
+++ b/tools/gpu/gl/egl/CreatePlatformGLTestContext_egl.cpp
@@ -100,7 +100,7 @@ EGLGLTestContext::EGLGLTestContext(GrGLStandard forcedGpuAPI)
}
SkASSERT(forcedGpuAPI == kNone_GrGLStandard || kAPIs[api].fStandard == forcedGpuAPI);
- SkAutoTUnref<const GrGLInterface> gl;
+ sk_sp<const GrGLInterface> gl;
for (; nullptr == gl.get() && api < apiLimit; ++api) {
fDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY);