| Index: core/fpdfapi/fpdf_parser/include/cpdf_object.h
|
| diff --git a/core/fpdfapi/fpdf_parser/include/cpdf_object.h b/core/fpdfapi/fpdf_parser/include/cpdf_object.h
|
| index f637e366670b04a42643bfb9733cb4890cea6848..86f3879ce1fffa3243c01cf6c59f04512d72c198 100644
|
| --- a/core/fpdfapi/fpdf_parser/include/cpdf_object.h
|
| +++ b/core/fpdfapi/fpdf_parser/include/cpdf_object.h
|
| @@ -79,6 +79,10 @@ class CPDF_Object {
|
| virtual const CPDF_String* AsString() const;
|
|
|
| protected:
|
| + friend class CPDF_Document;
|
| + friend class CPDF_IndirectObjectHolder;
|
| + friend class CPDF_Parser;
|
| +
|
| CPDF_Object() : m_ObjNum(0), m_GenNum(0) {}
|
| virtual ~CPDF_Object();
|
| void Destroy() { delete this; }
|
| @@ -86,9 +90,6 @@ class CPDF_Object {
|
| uint32_t m_ObjNum;
|
| uint32_t m_GenNum;
|
|
|
| - friend class CPDF_IndirectObjectHolder;
|
| - friend class CPDF_Parser;
|
| -
|
| private:
|
| CPDF_Object(const CPDF_Object& src) {}
|
| };
|
|
|