commit | 1b612a89fba2275e3effe12bdc9b6cdc2f4d9eee | [log] [tgz] |
---|---|---|
author | Hal Canary <halcanary@google.com> | Thu Nov 03 16:26:13 2016 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Nov 03 21:00:34 2016 +0000 |
tree | 9a1d89d5c6499ce60f3b109f1a03e46ce33e6390 | |
parent | 1b96c6f91377431cd407c43fedac613fff21c2ed [diff] [blame] |
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>
diff --git a/tools/skiaserve/Request.h b/tools/skiaserve/Request.h index cadf15c..6b065a2 100644 --- a/tools/skiaserve/Request.h +++ b/tools/skiaserve/Request.h
@@ -63,7 +63,7 @@ SkColor getPixel(int x, int y); UploadContext* fUploadContext; - SkAutoTUnref<SkDebugCanvas> fDebugCanvas; + sk_sp<SkDebugCanvas> fDebugCanvas; UrlDataManager fUrlDataManager; private: @@ -76,7 +76,7 @@ sk_sp<SkPicture> fPicture; sk_gpu_test::GrContextFactory* fContextFactory; - SkAutoTUnref<SkSurface> fSurface; + sk_sp<SkSurface> fSurface; bool fGPUEnabled; bool fOverdraw; int fColorMode;