summaryrefslogtreecommitdiff
path: root/core/fpdfapi/cmaps/cmap_int.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-12-05 20:27:02 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-12-05 20:27:02 +0000
commitc45271e053c8c458cefa4ccf847c85b7d1df3f09 (patch)
tree281529b69ec20663958d20d6d0ac76f31177e841 /core/fpdfapi/cmaps/cmap_int.h
parent82f2afe603ccb1e879a7a292259b0882b3d27bb6 (diff)
downloadpdfium-c45271e053c8c458cefa4ccf847c85b7d1df3f09.tar.xz
Remove redundant field in struct FXCMAP_CMap.
Change-Id: Ibac6398b5849820562830bb8ed95c3428496f7ef Reviewed-on: https://pdfium-review.googlesource.com/20410 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdfapi/cmaps/cmap_int.h')
-rw-r--r--core/fpdfapi/cmaps/cmap_int.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/fpdfapi/cmaps/cmap_int.h b/core/fpdfapi/cmaps/cmap_int.h
index 58b4a2cc07..27f9617ed6 100644
--- a/core/fpdfapi/cmaps/cmap_int.h
+++ b/core/fpdfapi/cmaps/cmap_int.h
@@ -18,7 +18,7 @@ struct FXCMAP_DWordCIDMap {
};
struct FXCMAP_CMap {
- enum MapType : uint8_t { None, Single, Range };
+ enum MapType : uint8_t { Single, Range };
const char* m_Name;
const uint16_t* m_pWordMap;
@@ -26,7 +26,6 @@ struct FXCMAP_CMap {
uint16_t m_WordCount;
uint16_t m_DWordCount;
MapType m_WordMapType;
- MapType m_DWordMapType; // TODO(thestig): Remove.
int8_t m_UseOffset;
};