aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/codec/SkJpegDecoderMgr.h
diff options
context:
space:
mode:
authorGravatar msarett <msarett@google.com>2016-04-25 09:30:24 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-25 09:30:24 -0700
commitac6c75056f1e8e5a5d7c3c4b64df4113368d9c31 (patch)
treeb9e47734e0257d0b6e2c52ded5b2785c580636f6 /src/codec/SkJpegDecoderMgr.h
parentd51bdae4e145bfede693f97cf0d54a56d33d3c9e (diff)
Remove SkEncodedInfo kUnknown_Color and kUnknown_Alpha from public API
Diffstat (limited to 'src/codec/SkJpegDecoderMgr.h')
-rw-r--r--src/codec/SkJpegDecoderMgr.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/codec/SkJpegDecoderMgr.h b/src/codec/SkJpegDecoderMgr.h
index a5078bb2d3..7bc422d4ff 100644
--- a/src/codec/SkJpegDecoderMgr.h
+++ b/src/codec/SkJpegDecoderMgr.h
@@ -43,10 +43,10 @@ public:
void init();
/*
- * Returns the encoded color type of the jpeg, or kUnknown if the
- * color type can't be determined
+ * Returns true if it successfully sets outColor to the encoded color,
+ * and false otherwise.
*/
- SkEncodedInfo::Color getEncodedColor();
+ bool getEncodedColor(SkEncodedInfo::Color* outColor);
/*
* Free memory used by the decode manager