| Index: src/codec/SkCodecPriv.h
|
| diff --git a/src/codec/SkCodecPriv.h b/src/codec/SkCodecPriv.h
|
| index 90b16323a76969dc691f00844bf00963a162fbf2..0c45fddff16d3159504e2eeabe7415e44a47ef5f 100644
|
| --- a/src/codec/SkCodecPriv.h
|
| +++ b/src/codec/SkCodecPriv.h
|
| @@ -31,6 +31,13 @@
|
| SkSwizzler::GetResult(zeroAlpha, maxAlpha);
|
|
|
| /*
|
| + * If there is a color table, get a pointer to the colors, otherwise return NULL
|
| + */
|
| +static const SkPMColor* get_color_ptr(SkColorTable* colorTable) {
|
| + return NULL != colorTable ? colorTable->readColors() : NULL;
|
| +}
|
| +
|
| +/*
|
| *
|
| * Copy the codec color table back to the client when kIndex8 color type is requested
|
| *
|
|
|