diff options
author | Tom Sepez <tsepez@chromium.org> | 2014-08-12 14:43:18 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2014-08-12 14:43:18 -0700 |
commit | 9fa56b72aeaaa7c8e86d232797d887a4346af5ac (patch) | |
tree | e79a1f7510185e821252e0fad61eae73f4661b58 /core/src/fxge | |
parent | 87708e18c8244feecb8e58e9dc8861118061f8de (diff) | |
download | pdfium-9fa56b72aeaaa7c8e86d232797d887a4346af5ac.tar.xz |
Fix missing or broken include guard macros in pdfium headers.
This has no ill-effect at present, but may be distracting when viewing the file
since it just looks wrong.
R=jun_fang@foxitsoftware.com
Review URL: https://codereview.chromium.org/461933003
Diffstat (limited to 'core/src/fxge')
-rw-r--r-- | core/src/fxge/dib/dib_int.h | 7 | ||||
-rw-r--r-- | core/src/fxge/ge/text_int.h | 5 |
2 files changed, 11 insertions, 1 deletions
diff --git a/core/src/fxge/dib/dib_int.h b/core/src/fxge/dib/dib_int.h index 1e6d82ea86..19dc358133 100644 --- a/core/src/fxge/dib/dib_int.h +++ b/core/src/fxge/dib/dib_int.h @@ -1,9 +1,12 @@ // Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. - + // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com +#ifndef _DIB_INT_H_ +#define _DIB_INT_H_ + class CPDF_FixedMatrix : public CFX_Object { public: @@ -86,3 +89,5 @@ public: void StretchVert(); int m_State; }; + +#endif // _DIB_INT_H_ diff --git a/core/src/fxge/ge/text_int.h b/core/src/fxge/ge/text_int.h index a3c9417bfc..c8d55965e3 100644 --- a/core/src/fxge/ge/text_int.h +++ b/core/src/fxge/ge/text_int.h @@ -4,6 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com +#ifndef _TEXT_INT_H_ +#define _TEXT_INT_H_ + struct _CFX_UniqueKeyGen { void Generate(int count, ...); FX_CHAR m_Key[128]; @@ -98,3 +101,5 @@ public: int m_PitchFamily; CFX_ByteString m_FontTables; }; + +#endif // _TEXT_INT_H_ |