diff options
Diffstat (limited to 'src/codec/SkBmpStandardCodec.h')
-rw-r--r-- | src/codec/SkBmpStandardCodec.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/codec/SkBmpStandardCodec.h b/src/codec/SkBmpStandardCodec.h index f9ce5c6839..60587fb48d 100644 --- a/src/codec/SkBmpStandardCodec.h +++ b/src/codec/SkBmpStandardCodec.h @@ -23,7 +23,7 @@ public: /* * Creates an instance of the decoder * - * Called only by SkBmpCodec::NewFromStream + * Called only by SkBmpCodec::MakeFromStream * There should be no other callers despite this being public * * @param info contains properties of the encoded data @@ -39,10 +39,10 @@ public: * the icp mask, if there is one) * @param inIco indicates if the bmp is embedded in an ico file */ - SkBmpStandardCodec(int width, int height, const SkEncodedInfo& info, SkStream* stream, - uint16_t bitsPerPixel, uint32_t numColors, uint32_t bytesPerColor, - uint32_t offset, SkCodec::SkScanlineOrder rowOrder, bool isOpaque, - bool inIco); + SkBmpStandardCodec(int width, int height, const SkEncodedInfo& info, + std::unique_ptr<SkStream> stream, uint16_t bitsPerPixel, uint32_t numColors, + uint32_t bytesPerColor, uint32_t offset, SkCodec::SkScanlineOrder rowOrder, + bool isOpaque, bool inIco); protected: |