summaryrefslogtreecommitdiff
path: root/core/include/fpdfapi
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-04-20 12:29:12 -0700
committerTom Sepez <tsepez@chromium.org>2015-04-20 12:29:12 -0700
commitbc580c69403169afa656aabb06a56b26d3b729cf (patch)
tree3f0efd776e2067f4f4329db4f79a8467a766575b /core/include/fpdfapi
parent0fff5ef23382f8c13d079dae41b1664999d9c2a7 (diff)
downloadpdfium-bc580c69403169afa656aabb06a56b26d3b729cf.tar.xz
Remove Release() from CPDF_PageObject
BUG=pdfium:140 R=thestig@chromium.org Review URL: https://codereview.chromium.org/1093213002
Diffstat (limited to 'core/include/fpdfapi')
-rw-r--r--core/include/fpdfapi/fpdf_pageobj.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/core/include/fpdfapi/fpdf_pageobj.h b/core/include/fpdfapi/fpdf_pageobj.h
index bd11a209f0..e78c9bb8b2 100644
--- a/core/include/fpdfapi/fpdf_pageobj.h
+++ b/core/include/fpdfapi/fpdf_pageobj.h
@@ -455,10 +455,8 @@ public:
class CPDF_PageObject : public CPDF_GraphicStates
{
public:
-
static CPDF_PageObject* Create(int type);
-
- void Release();
+ virtual ~CPDF_PageObject();
CPDF_PageObject* Clone() const;
@@ -505,7 +503,6 @@ protected:
CPDF_PageObject() {}
- virtual ~CPDF_PageObject() {}
};
struct CPDF_TextObjectItem {