aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/codec/SkBmpBaseCodec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/codec/SkBmpBaseCodec.cpp')
-rw-r--r--src/codec/SkBmpBaseCodec.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/codec/SkBmpBaseCodec.cpp b/src/codec/SkBmpBaseCodec.cpp
index 0e744351f0..1071ff38e7 100644
--- a/src/codec/SkBmpBaseCodec.cpp
+++ b/src/codec/SkBmpBaseCodec.cpp
@@ -9,8 +9,9 @@
SkBmpBaseCodec::~SkBmpBaseCodec() {}
-SkBmpBaseCodec::SkBmpBaseCodec(int width, int height, const SkEncodedInfo& info, SkStream* stream,
+SkBmpBaseCodec::SkBmpBaseCodec(int width, int height, const SkEncodedInfo& info,
+ std::unique_ptr<SkStream> stream,
uint16_t bitsPerPixel, SkCodec::SkScanlineOrder rowOrder)
- : INHERITED(width, height, info, stream, bitsPerPixel, rowOrder)
+ : INHERITED(width, height, info, std::move(stream), bitsPerPixel, rowOrder)
, fSrcBuffer(sk_malloc_flags(this->srcRowBytes(), 0))
{}