diff options
author | Lei Zhang <thestig@chromium.org> | 2015-06-22 15:16:15 -0700 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-06-22 15:16:15 -0700 |
commit | 6ea012325fca56a37b9adbda2d3549569d242271 (patch) | |
tree | b368fc4fe7f8647cb509513d96dce8eec14d7c42 /core/include/fpdfapi | |
parent | 5ab3fc60fc44aca144607416d18e7efdc1203fe6 (diff) | |
download | pdfium-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.h | 6 |
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) { } |