summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_pageobject.h
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2016-11-21 16:52:41 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-21 16:52:41 -0800
commit6a1c9bd09ef8fdd2fe2f9e39b9a05f6581be9d87 (patch)
treee909f7f4a56ac319f58865e42d0406de7c65c690 /core/fpdfapi/page/cpdf_pageobject.h
parent06104a8abc71ecd824d6a461b6f6f31c32fd2135 (diff)
downloadpdfium-6a1c9bd09ef8fdd2fe2f9e39b9a05f6581be9d87.tar.xz
Use more unique_ptrs in CPDF_Image.
Do the same in CPDF_TextObject. Discover CPDF_PageObject::Clone() is unnecessary and remove it. Review-Url: https://codereview.chromium.org/2517163003
Diffstat (limited to 'core/fpdfapi/page/cpdf_pageobject.h')
-rw-r--r--core/fpdfapi/page/cpdf_pageobject.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/fpdfapi/page/cpdf_pageobject.h b/core/fpdfapi/page/cpdf_pageobject.h
index 97cac7e9aa..ffc59f4eee 100644
--- a/core/fpdfapi/page/cpdf_pageobject.h
+++ b/core/fpdfapi/page/cpdf_pageobject.h
@@ -31,7 +31,6 @@ class CPDF_PageObject : public CPDF_GraphicStates {
CPDF_PageObject();
~CPDF_PageObject() override;
- virtual CPDF_PageObject* Clone() const = 0;
virtual Type GetType() const = 0;
virtual void Transform(const CFX_Matrix& matrix) = 0;
virtual bool IsText() const;