Comment two POD structs with raw c strings.
Justify why these won't be converted to a better string type.
Change-Id: Idc2c6effd3e23464b2e48bba2f0d42f0e1182ec6
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/65771
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
diff --git a/xfa/fgas/font/fgas_fontutils.h b/xfa/fgas/font/fgas_fontutils.h
index ecdcd87..91998d5 100644
--- a/xfa/fgas/font/fgas_fontutils.h
+++ b/xfa/fgas/font/fgas_fontutils.h
@@ -19,9 +19,9 @@
const FGAS_FONTUSB* FGAS_GetUnicodeBitField(wchar_t wUnicode);
struct FGAS_FontInfo {
- uint32_t dwFontNameHash; // WideString hash.
- const char* pPsName;
- const char* pReplaceFont;
+ uint32_t dwFontNameHash; // WideString hash.
+ const char* pPsName; // Raw, POD struct.
+ const char* pReplaceFont; // Raw, POD struct.
uint16_t dwStyles;
uint16_t wCodePage;
};
diff --git a/xfa/fxfa/cxfa_ffbarcode.h b/xfa/fxfa/cxfa_ffbarcode.h
index 367a8b0..83e0884 100644
--- a/xfa/fxfa/cxfa_ffbarcode.h
+++ b/xfa/fxfa/cxfa_ffbarcode.h
@@ -78,8 +78,8 @@
};
struct BarCodeInfo {
- uint32_t uHash; // |pName| hashed as if wide string.
- const char* pName;
+ uint32_t uHash; // |pName| hashed as if wide string.
+ const char* pName; // Raw, POD struct.
BarcodeType eName;
BC_TYPE eBCType;
};