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

Unified Diff: core/include/fxcodec/fx_codec.h

Issue 1722873002: Remove many _CAPS structure names. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Nits. Created 4 years, 10 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 | « BUILD.gn ('k') | core/src/fpdfapi/fpdf_font/font_int.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/include/fxcodec/fx_codec.h
diff --git a/core/include/fxcodec/fx_codec.h b/core/include/fxcodec/fx_codec.h
index 1c120aa0ab20f1a2823a14ea7e90171aff917ae6..c1842626f0d4c8a2e16332911f747bf460667159 100644
--- a/core/include/fxcodec/fx_codec.h
+++ b/core/include/fxcodec/fx_codec.h
@@ -461,7 +461,7 @@ class ICodec_Jbig2Encoder {
};
class ICodec_IccModule {
public:
- typedef enum {
+ enum IccCS {
IccCS_Unknown = 0,
IccCS_XYZ,
IccCS_Lab,
@@ -474,8 +474,9 @@ class ICodec_IccModule {
IccCS_Rgb,
IccCS_Cmyk,
IccCS_Cmy
- } IccCS;
- typedef struct _IccParam {
+ };
+
+ struct IccParam {
FX_DWORD Version;
IccCS ColorSpace;
FX_DWORD dwProfileType;
@@ -483,7 +484,7 @@ class ICodec_IccModule {
uint8_t* pProfileData;
FX_DWORD dwProfileSize;
double Gamma;
- } IccParam;
+ };
virtual ~ICodec_IccModule() {}
« no previous file with comments | « BUILD.gn ('k') | core/src/fpdfapi/fpdf_font/font_int.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698