Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Unified Diff: src/codec/SkJpegDecoderMgr.h

Issue 1918873002: Remove SkEncodedInfo kUnknown_Color and kUnknown_Alpha from public API (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix errors Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/codec/SkJpegCodec.cpp ('k') | src/codec/SkJpegDecoderMgr.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/codec/SkJpegDecoderMgr.h
diff --git a/src/codec/SkJpegDecoderMgr.h b/src/codec/SkJpegDecoderMgr.h
index a5078bb2d3085a09134e2ac7c5221ba8cf9023dd..7bc422d4ff0bb67ee9b1e19b1caddb1f42acc5fc 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
« no previous file with comments | « src/codec/SkJpegCodec.cpp ('k') | src/codec/SkJpegDecoderMgr.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698