commit | 2db83612576d64935bd88747cf9855e79cad70d4 | [log] [tgz] |
---|---|---|
author | Hal Canary <halcanary@google.com> | Fri Nov 04 13:02:54 2016 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Mon Nov 07 15:17:32 2016 +0000 |
tree | 2e9cbd612abc2a52dc1bb8c594d328ddee2b93fa | |
parent | 12313f072b3563d652a789e28140f70b48e57e03 [diff] [blame] |
bench, samples, etc: s/SkAutoTUnref/sk_sp/ GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4437 Change-Id: Ice071684ac8a99e4bb405b4b9be8e8f42c7bac42 Reviewed-on: https://skia-review.googlesource.com/4437 Reviewed-by: Ben Wagner <bungeman@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp index 6722429..75827ff 100644 --- a/samplecode/SampleApp.cpp +++ b/samplecode/SampleApp.cpp
@@ -241,7 +241,7 @@ fActualColorBits = SkTMax(attachmentInfo.fColorBits, 24); SkASSERT(nullptr == fCurIntf); - SkAutoTUnref<const GrGLInterface> glInterface; + sk_sp<const GrGLInterface> glInterface; switch (win->getDeviceType()) { case kRaster_DeviceType: // fallthrough case kGPU_DeviceType: