Index: bench/SkLinearBitmapPipelineBench.cpp |
diff --git a/bench/SkLinearBitmapPipelineBench.cpp b/bench/SkLinearBitmapPipelineBench.cpp |
index cc5d0850e86161b9ac6109299db65f767180d821..354ccefafd0aca605587718194ded41a89df1320 100644 |
--- a/bench/SkLinearBitmapPipelineBench.cpp |
+++ b/bench/SkLinearBitmapPipelineBench.cpp |
@@ -141,8 +141,10 @@ struct SkBitmapFPGeneral final : public CommonBitmapFPBenchmark { |
filterQuality = SkFilterQuality::kNone_SkFilterQuality; |
} |
+ SkPixmap srcPixmap{fInfo, fBitmap.get(), static_cast<size_t>(4 * width)}; |
+ |
SkLinearBitmapPipeline pipeline{ |
- fInvert, filterQuality, fXTile, fYTile, fInfo, fBitmap.get() }; |
+ fInvert, filterQuality, fXTile, fYTile, srcPixmap}; |
int count = 100; |