Index: bench/BitmapRegionDecoderBench.cpp |
diff --git a/bench/BitmapRegionDecoderBench.cpp b/bench/BitmapRegionDecoderBench.cpp |
index dd60b18296111ebb13bf7baf300a6ecab5f6d3fd..709ad0e89d86186a6e92f84ab930af3974ce7469 100644 |
--- a/bench/BitmapRegionDecoderBench.cpp |
+++ b/bench/BitmapRegionDecoderBench.cpp |
@@ -36,7 +36,8 @@ bool BitmapRegionDecoderBench::isSuitableFor(Backend backend) { |
} |
void BitmapRegionDecoderBench::onDelayedSetup() { |
- fBRD.reset(SkBitmapRegionDecoder::Create(fData, SkBitmapRegionDecoder::kAndroidCodec_Strategy)); |
+ fBRD.reset(SkBitmapRegionDecoder::Create(fData.get(), |
+ SkBitmapRegionDecoder::kAndroidCodec_Strategy)); |
} |
void BitmapRegionDecoderBench::onDraw(int n, SkCanvas* canvas) { |