From 811a4f617283a3ea22381a293b71d3c68c628905 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Mon, 26 Oct 2015 15:09:33 -0700 Subject: Remove CPDF_Reference::Create(), make logic match master Makes the files in this CL identical to master, since there are no XFA specifics. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1425663003 . --- core/include/fpdfapi/fpdf_objects.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'core/include') diff --git a/core/include/fpdfapi/fpdf_objects.h b/core/include/fpdfapi/fpdf_objects.h index 7287814f9a..419d5fc23e 100644 --- a/core/include/fpdfapi/fpdf_objects.h +++ b/core/include/fpdfapi/fpdf_objects.h @@ -585,10 +585,6 @@ class CPDF_Null : public CPDF_Object { }; class CPDF_Reference : public CPDF_Object { public: - static CPDF_Reference* Create(CPDF_IndirectObjects* pDoc, int objnum) { - return new CPDF_Reference(pDoc, objnum); - } - CPDF_Reference(CPDF_IndirectObjects* pDoc, int objnum) : CPDF_Object(PDFOBJ_REFERENCE), m_pObjList(pDoc), m_RefObjNum(objnum) {} -- cgit v1.2.3