From a2c42ce6150c4072613a6fc9fa0dc064dbf0a15d Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Wed, 25 Nov 2015 15:52:28 -0800 Subject: Manual fixups to PDF_ENABLE_XFA in core/ R=thestig@chromium.org Review URL: https://codereview.chromium.org/1477663003 . --- core/include/fxcrt/fx_basic.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'core/include/fxcrt/fx_basic.h') diff --git a/core/include/fxcrt/fx_basic.h b/core/include/fxcrt/fx_basic.h index 710bbcc3c3..e35084c3e8 100644 --- a/core/include/fxcrt/fx_basic.h +++ b/core/include/fxcrt/fx_basic.h @@ -193,7 +193,7 @@ class CFX_ArchiveLoader { FX_DWORD m_LoadingSize; }; -#endif +#endif // PDF_ENABLE_XFA class IFX_BufferArchive { public: @@ -441,7 +441,7 @@ typedef CFX_ArrayTemplate CFX_FileSizeArray; #ifdef PDF_ENABLE_XFA typedef CFX_ArrayTemplate CFX_FloatArray; typedef CFX_ArrayTemplate CFX_Int32Array; -#endif +#endif // PDF_ENABLE_XFA template class CFX_ObjectArray : public CFX_BasicArray { @@ -728,9 +728,7 @@ class CFX_MapPtrTemplate : public CFX_MapPtrToPtr { FX_BOOL RemoveKey(KeyType key) { return CFX_MapPtrToPtr::RemoveKey((void*)(uintptr_t)key); } -#endif -#ifdef PDF_ENABLE_XFA void GetNextAssoc(FX_POSITION& rNextPosition, KeyType& rKey, ValueType& rValue) const { @@ -741,7 +739,7 @@ class CFX_MapPtrTemplate : public CFX_MapPtrToPtr { rValue = (ValueType)(uintptr_t)pValue; } }; -#endif +#endif // PDF_ENABLE_XFA class CFX_CMapByteStringToPtr { public: CFX_CMapByteStringToPtr(); @@ -1203,7 +1201,7 @@ class IFX_Unknown { virtual FX_DWORD AddRef() = 0; }; #define FX_IsOdd(a) ((a)&1) -#endif +#endif // PDF_ENABLE_XFA class CFX_Vector_3by1 { public: -- cgit v1.2.3