diff options
Diffstat (limited to 'src/codec/SkBmpStandardCodec.cpp')
-rw-r--r-- | src/codec/SkBmpStandardCodec.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/codec/SkBmpStandardCodec.cpp b/src/codec/SkBmpStandardCodec.cpp index 46a5715dc9..53aa91c6fa 100644 --- a/src/codec/SkBmpStandardCodec.cpp +++ b/src/codec/SkBmpStandardCodec.cpp @@ -15,11 +15,11 @@ * Called only by NewFromStream */ SkBmpStandardCodec::SkBmpStandardCodec(int width, int height, const SkEncodedInfo& info, - SkStream* stream, uint16_t bitsPerPixel, uint32_t numColors, - uint32_t bytesPerColor, uint32_t offset, + std::unique_ptr<SkStream> stream, uint16_t bitsPerPixel, + uint32_t numColors, uint32_t bytesPerColor, uint32_t offset, SkCodec::SkScanlineOrder rowOrder, bool isOpaque, bool inIco) - : INHERITED(width, height, info, stream, bitsPerPixel, rowOrder) + : INHERITED(width, height, info, std::move(stream), bitsPerPixel, rowOrder) , fColorTable(nullptr) , fNumColors(numColors) , fBytesPerColor(bytesPerColor) |