summaryrefslogtreecommitdiff
path: root/core/src/fpdfapi/fpdf_cmaps/cmap_int.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-07-14 17:16:13 -0700
committerTom Sepez <tsepez@chromium.org>2015-07-14 17:16:13 -0700
commit287945f27b0e54df781b1f6844a149630aaf275b (patch)
tree41c7ec29ae962c8f85d640285d987a32180bc047 /core/src/fpdfapi/fpdf_cmaps/cmap_int.h
parentb2552025f977873cc96bdfd7144329623159ad33 (diff)
downloadpdfium-287945f27b0e54df781b1f6844a149630aaf275b.tar.xz
Merge to XFA: Move extern cmap declarations from .cpp files.
(cherry picked from commit 759247991b5f1df71335294e6bfe3e3fe7aec7b4) Original Review URL: https://codereview.chromium.org/1221503005 . TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1235253004 .
Diffstat (limited to 'core/src/fpdfapi/fpdf_cmaps/cmap_int.h')
-rw-r--r--core/src/fpdfapi/fpdf_cmaps/cmap_int.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/src/fpdfapi/fpdf_cmaps/cmap_int.h b/core/src/fpdfapi/fpdf_cmaps/cmap_int.h
index 68856b2ada..98b64ed8ec 100644
--- a/core/src/fpdfapi/fpdf_cmaps/cmap_int.h
+++ b/core/src/fpdfapi/fpdf_cmaps/cmap_int.h
@@ -7,8 +7,11 @@
#ifndef CORE_SRC_FPDFAPI_FPDF_CMAPS_CMAP_INT_H_
#define CORE_SRC_FPDFAPI_FPDF_CMAPS_CMAP_INT_H_
+#include "../../../include/fxcrt/fx_system.h" // For FX_WORD.
+
struct FXCMAP_CMap {
- typedef enum { None, Single, Range, Reverse } MapType;
+ enum MapType { None, Single, Range, Reverse };
+
const char* m_Name;
MapType m_WordMapType;
const FX_WORD* m_pWordMap;