Index: core/include/fpdfapi/fpdf_parser.h |
diff --git a/core/include/fpdfapi/fpdf_parser.h b/core/include/fpdfapi/fpdf_parser.h |
index 6fec26d687a6eddde86fbe161f7073fd15418ac9..b7684e530a380895907f910d6f993c2739a30ba6 100644 |
--- a/core/include/fpdfapi/fpdf_parser.h |
+++ b/core/include/fpdfapi/fpdf_parser.h |
@@ -299,6 +299,10 @@ class CPDF_SyntaxParser { |
CFX_ByteString GetNextWord(FX_BOOL& bIsNumber); |
protected: |
+ friend class CPDF_Parser; |
+ friend class CPDF_DataAvail; |
+ friend class fpdf_parser_parser_ReadHexString_Test; |
+ |
static const int kParserMaxRecursionDepth = 64; |
static int s_CurrentRecursionDepth; |
@@ -352,8 +356,6 @@ class CPDF_SyntaxParser { |
FX_BOOL m_bIsNumber; |
FX_FILESIZE m_dwWordPos; |
- friend class CPDF_Parser; |
- friend class CPDF_DataAvail; |
}; |
#define PDFPARSE_TYPEONLY 1 |