diff options
author | Hal Canary <halcanary@google.com> | 2016-11-04 13:02:54 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2016-11-07 15:17:32 +0000 |
commit | 2db83612576d64935bd88747cf9855e79cad70d4 (patch) | |
tree | 2e9cbd612abc2a52dc1bb8c594d328ddee2b93fa /fuzz | |
parent | 12313f072b3563d652a789e28140f70b48e57e03 (diff) |
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>
Diffstat (limited to 'fuzz')
-rw-r--r-- | fuzz/fuzz.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fuzz/fuzz.cpp b/fuzz/fuzz.cpp index 7aac5dae04..d6534f1aff 100644 --- a/fuzz/fuzz.cpp +++ b/fuzz/fuzz.cpp @@ -145,7 +145,7 @@ int fuzz_img(sk_sp<SkData> bytes, uint8_t scale, uint8_t mode) { decodeInfo = decodeInfo.makeWH(size.width(), size.height()); // Construct a color table for the decode if necessary - SkAutoTUnref<SkColorTable> colorTable(nullptr); + sk_sp<SkColorTable> colorTable(nullptr); SkPMColor* colorPtr = nullptr; int* colorCountPtr = nullptr; int maxColors = 256; |