Use UnownedPtr<> in CTypeSet. -- Mark raw ptr as POD found while searching for these. Change-Id: Icf809c16149bff82b9c538d90bfe7860423d534b Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/78810 Auto-Submit: Tom Sepez <tsepez@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org>
diff --git a/core/fpdfdoc/ctypeset.h b/core/fpdfdoc/ctypeset.h index 3d56a3b..5f5f8d1 100644 --- a/core/fpdfdoc/ctypeset.h +++ b/core/fpdfdoc/ctypeset.h
@@ -29,7 +29,7 @@ CPVT_FloatRect m_rcRet; UnownedPtr<CPDF_VariableText> const m_pVT; - CSection* const m_pSection; + UnownedPtr<CSection> const m_pSection; }; #endif // CORE_FPDFDOC_CTYPESET_H_
diff --git a/core/fxcrt/fx_codepage.h b/core/fxcrt/fx_codepage.h index 4a6c6d8..935425d 100644 --- a/core/fxcrt/fx_codepage.h +++ b/core/fxcrt/fx_codepage.h
@@ -93,7 +93,7 @@ // Hi-bytes to unicode codepoint mapping for various code pages. struct FX_CharsetUnicodes { uint8_t m_Charset; - const uint16_t* m_pUnicodes; + const uint16_t* m_pUnicodes; // Raw, POD struct. }; extern const FX_CharsetUnicodes g_FX_CharsetUnicodes[8];