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

Unified Diff: include/codec/SkEncodedInfo.h

Issue 2025713003: SkEncodedInfo: simplify (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 7 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 | « no previous file | src/codec/SkJpegCodec.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/codec/SkEncodedInfo.h
diff --git a/include/codec/SkEncodedInfo.h b/include/codec/SkEncodedInfo.h
index d35aa2bab4c2fbb928e67a791cd24805cb2dc88e..60ad588edd67c7e059e2ef50500669773b185329 100644
--- a/include/codec/SkEncodedInfo.h
+++ b/include/codec/SkEncodedInfo.h
@@ -191,15 +191,9 @@ private:
, fBitsPerComponent(bitsPerComponent)
{}
- void setColor(Color color) {
- fColor = color;
- }
-
Color fColor;
Alpha fAlpha;
uint8_t fBitsPerComponent;
-
- friend class SkJpegCodec;
};
#endif
« no previous file with comments | « no previous file | src/codec/SkJpegCodec.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698