From 61ff9b659a5b992e3e3ba4000f7ca5c799cc9ebf Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Mon, 2 Jul 2018 19:23:53 +0000 Subject: Comment some raw pointers that cant become UnownedPtr<>. These appear in compile-time const data. Adding the comment makes it easier to see what work remains when using grep. Change-Id: Ibb5fe920dc9fc99dd4c866f9ddf800a58f6a67a8 Reviewed-on: https://pdfium-review.googlesource.com/36690 Reviewed-by: Lei Zhang Commit-Queue: Tom Sepez --- core/fpdfapi/cmaps/cmap_int.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'core/fpdfapi/cmaps') diff --git a/core/fpdfapi/cmaps/cmap_int.h b/core/fpdfapi/cmaps/cmap_int.h index 27f9617ed6..03650383cd 100644 --- a/core/fpdfapi/cmaps/cmap_int.h +++ b/core/fpdfapi/cmaps/cmap_int.h @@ -20,9 +20,9 @@ struct FXCMAP_DWordCIDMap { struct FXCMAP_CMap { enum MapType : uint8_t { Single, Range }; - const char* m_Name; - const uint16_t* m_pWordMap; - const FXCMAP_DWordCIDMap* m_pDWordMap; + const char* m_Name; // Raw, POD struct. + const uint16_t* m_pWordMap; // Raw, POD struct. + const FXCMAP_DWordCIDMap* m_pDWordMap; // Raw, POD struct. uint16_t m_WordCount; uint16_t m_DWordCount; MapType m_WordMapType; -- cgit v1.2.3