From 287945f27b0e54df781b1f6844a149630aaf275b Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Tue, 14 Jul 2015 17:16:13 -0700 Subject: 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 . --- core/src/fpdfapi/fpdf_cmaps/cmap_int.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'core/src/fpdfapi/fpdf_cmaps/cmap_int.h') 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; -- cgit v1.2.3