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..0d92d36101615662fb8200541463ed81c8710430 100644 |
--- a/core/include/fpdfapi/fpdf_parser.h |
+++ b/core/include/fpdfapi/fpdf_parser.h |
@@ -299,6 +299,9 @@ class CPDF_SyntaxParser { |
CFX_ByteString GetNextWord(FX_BOOL& bIsNumber); |
protected: |
+ friend class CPDF_Parser; |
+ friend class CPDF_DataAvail; |
+ |
static const int kParserMaxRecursionDepth = 64; |
static int s_CurrentRecursionDepth; |
@@ -352,8 +355,9 @@ class CPDF_SyntaxParser { |
FX_BOOL m_bIsNumber; |
FX_FILESIZE m_dwWordPos; |
- friend class CPDF_Parser; |
- friend class CPDF_DataAvail; |
+ |
+ private: |
Tom Sepez
2015/11/03 17:41:08
Is there anything private in this class that the t
dsinclair
2015/11/03 18:29:49
Nope, left over from a different path I'd tried or
|
+ friend class fpdf_parser_parser_ReadHexString_Test; |
}; |
#define PDFPARSE_TYPEONLY 1 |