summaryrefslogtreecommitdiff
path: root/core/fpdfapi/font
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-07-02 19:23:53 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-07-02 19:23:53 +0000
commit61ff9b659a5b992e3e3ba4000f7ca5c799cc9ebf (patch)
tree327481dc21ffd9ea01676e9a174cf1a616fee5be /core/fpdfapi/font
parent319ef06b2f695c7ebc26985d477b71fe8db93d3e (diff)
downloadpdfium-61ff9b659a5b992e3e3ba4000f7ca5c799cc9ebf.tar.xz
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 <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fpdfapi/font')
-rw-r--r--core/fpdfapi/font/cpdf_cmap.cpp2
-rw-r--r--core/fpdfapi/font/cpdf_type1font.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/core/fpdfapi/font/cpdf_cmap.cpp b/core/fpdfapi/font/cpdf_cmap.cpp
index c761959d8b..f3ef829e20 100644
--- a/core/fpdfapi/font/cpdf_cmap.cpp
+++ b/core/fpdfapi/font/cpdf_cmap.cpp
@@ -23,7 +23,7 @@ struct ByteRange {
};
struct PredefinedCMap {
- const char* m_pName;
+ const char* m_pName; // Raw, POD struct.
CIDSet m_Charset;
CIDCoding m_Coding;
CPDF_CMap::CodingScheme m_CodingScheme;
diff --git a/core/fpdfapi/font/cpdf_type1font.cpp b/core/fpdfapi/font/cpdf_type1font.cpp
index 8c286edcd0..fb445832f0 100644
--- a/core/fpdfapi/font/cpdf_type1font.cpp
+++ b/core/fpdfapi/font/cpdf_type1font.cpp
@@ -20,8 +20,8 @@ namespace {
#if _FX_PLATFORM_ == _FX_PLATFORM_APPLE_
struct GlyphNameMap {
- const char* m_pStrAdobe;
- const char* m_pStrUnicode;
+ const char* m_pStrAdobe; // Raw, POD struct.
+ const char* m_pStrUnicode; // Raw, POD struct.
};
const GlyphNameMap g_GlyphNameSubsts[] = {{"ff", "uniFB00"},