summaryrefslogtreecommitdiff
path: root/core/include/fpdfapi
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-06-22 15:16:15 -0700
committerLei Zhang <thestig@chromium.org>2015-06-22 15:16:15 -0700
commit6ea012325fca56a37b9adbda2d3549569d242271 (patch)
treeb368fc4fe7f8647cb509513d96dce8eec14d7c42 /core/include/fpdfapi
parent5ab3fc60fc44aca144607416d18e7efdc1203fe6 (diff)
downloadpdfium-6ea012325fca56a37b9adbda2d3549569d242271.tar.xz
Cleanup: Get rid of CPDF_Reference::Create().
Just call new CPDF_Reference instead. R=jam@chromium.org Review URL: https://codereview.chromium.org/1194343002.
Diffstat (limited to 'core/include/fpdfapi')
-rw-r--r--core/include/fpdfapi/fpdf_objects.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/core/include/fpdfapi/fpdf_objects.h b/core/include/fpdfapi/fpdf_objects.h
index 570dc410c2..45b7cc63cb 100644
--- a/core/include/fpdfapi/fpdf_objects.h
+++ b/core/include/fpdfapi/fpdf_objects.h
@@ -675,12 +675,6 @@ public:
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) {
}