Index: src/codec/SkSampler.h |
diff --git a/src/codec/SkSampler.h b/src/codec/SkSampler.h |
index 73e11c986e2949981a4f215678582fdfce060e8c..b233c32be22942577fb4502c7e722662417c2b82 100644 |
--- a/src/codec/SkSampler.h |
+++ b/src/codec/SkSampler.h |
@@ -35,6 +35,7 @@ public: |
* Stride in bytes of the destination. |
* |
* @param colorOrIndex |
+ * If colorType is kF16, colorOrIndex is treated as a 64-bit color. |
* If colorType is kN32, colorOrIndex is treated as a 32-bit color. |
* If colorType is k565, colorOrIndex is treated as a 16-bit color. |
* If colorType is kGray, colorOrIndex is treated as an 8-bit color. |
@@ -46,13 +47,13 @@ public: |
* |
*/ |
static void Fill(const SkImageInfo& info, void* dst, size_t rowBytes, |
- uint32_t colorOrIndex, SkCodec::ZeroInitialized zeroInit); |
+ uint64_t colorOrIndex, SkCodec::ZeroInitialized zeroInit); |
/** |
* Allow subclasses to implement unique versions of fill(). |
*/ |
virtual void fill(const SkImageInfo& info, void* dst, size_t rowBytes, |
- uint32_t colorOrIndex, SkCodec::ZeroInitialized zeroInit) {} |
+ uint64_t colorOrIndex, SkCodec::ZeroInitialized zeroInit) {} |
virtual ~SkSampler() {} |
private: |