| Index: src/codec/SkCodecPriv.h
|
| diff --git a/src/codec/SkCodecPriv.h b/src/codec/SkCodecPriv.h
|
| index 90b16323a76969dc691f00844bf00963a162fbf2..2b0226f88d930619dc83d0dee0bd800e9097ad8f 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
|
| + */
|
| +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
|
| *
|
|
|