commit | 42943c8aa9c611c18ad0f1a30a27669f3d82239c | [log] [tgz] |
---|---|---|
author | reed <reed@google.com> | Mon Sep 12 12:01:44 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Mon Sep 12 12:01:44 2016 -0700 |
tree | deff0bbc59dd92559191c188d73f97b4f9c580aa | |
parent | 09524ae42998ece3a8e7973064ab286646511b31 [diff] [blame] |
change SkStreams to work with sk_sp<SkData> instead of SkData* BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2333713002 Review-Url: https://codereview.chromium.org/2333713002
diff --git a/bench/BitmapRegionDecoderBench.cpp b/bench/BitmapRegionDecoderBench.cpp index 709ad0e..dd60b18 100644 --- a/bench/BitmapRegionDecoderBench.cpp +++ b/bench/BitmapRegionDecoderBench.cpp
@@ -36,8 +36,7 @@ } void BitmapRegionDecoderBench::onDelayedSetup() { - fBRD.reset(SkBitmapRegionDecoder::Create(fData.get(), - SkBitmapRegionDecoder::kAndroidCodec_Strategy)); + fBRD.reset(SkBitmapRegionDecoder::Create(fData, SkBitmapRegionDecoder::kAndroidCodec_Strategy)); } void BitmapRegionDecoderBench::onDraw(int n, SkCanvas* canvas) {