Chromium Code Reviews| Index: core/include/fpdfapi/fpdf_pageobj.h |
| diff --git a/core/include/fpdfapi/fpdf_pageobj.h b/core/include/fpdfapi/fpdf_pageobj.h |
| index bd11a209f05a296a44ba61494be43fee55e527a7..d3bb9916806c2f519167f24b2c4306b4e9fb73d5 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() { } |
|
Lei Zhang
2015/04/20 19:21:59
Can we move the dtor impl, however small, into the
Tom Sepez
2015/04/20 19:29:01
Done.
|
| CPDF_PageObject* Clone() const; |
| @@ -505,7 +503,6 @@ protected: |
| CPDF_PageObject() {} |
| - virtual ~CPDF_PageObject() {} |
| }; |
| struct CPDF_TextObjectItem { |