diff options
author | tsepez <tsepez@chromium.org> | 2016-11-04 16:00:03 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-04 16:00:03 -0700 |
commit | 931d087b991a986cc8bfa72131fe8eda0d987fc4 (patch) | |
tree | 53099f287c7c1dc83349aae6d3930a9462767518 /core/fpdfapi/parser/cpdf_number.h | |
parent | 1d08c50d1c20798001a1944e8a1fd76d09643ef1 (diff) | |
download | pdfium-931d087b991a986cc8bfa72131fe8eda0d987fc4.tar.xz |
Pass object to ReplaceIndirectObjectIfHigherGeneration() by unique_ptr.
Review-Url: https://codereview.chromium.org/2477003002
Diffstat (limited to 'core/fpdfapi/parser/cpdf_number.h')
-rw-r--r-- | core/fpdfapi/parser/cpdf_number.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/fpdfapi/parser/cpdf_number.h b/core/fpdfapi/parser/cpdf_number.h index a5efc1423e..717c2b7887 100644 --- a/core/fpdfapi/parser/cpdf_number.h +++ b/core/fpdfapi/parser/cpdf_number.h @@ -17,6 +17,7 @@ class CPDF_Number : public CPDF_Object { explicit CPDF_Number(int value); explicit CPDF_Number(FX_FLOAT value); explicit CPDF_Number(const CFX_ByteStringC& str); + ~CPDF_Number() override; // CPDF_Object. Type GetType() const override; @@ -32,8 +33,6 @@ class CPDF_Number : public CPDF_Object { bool IsInteger() const { return m_bInteger; } protected: - ~CPDF_Number() override; - bool m_bInteger; union { int m_Integer; |