Index: core/fpdfapi/fpdf_parser/cpdf_string.h |
diff --git a/core/fpdfapi/fpdf_parser/cpdf_string.h b/core/fpdfapi/fpdf_parser/cpdf_string.h |
index 2ce0d02ed75480c7dccc5351b5daafad86fc290d..58f5f2cb65956aaaf09c6eb317edd9d709f77c8b 100644 |
--- a/core/fpdfapi/fpdf_parser/cpdf_string.h |
+++ b/core/fpdfapi/fpdf_parser/cpdf_string.h |
@@ -16,6 +16,7 @@ class CPDF_String : public CPDF_Object { |
CPDF_String(); |
CPDF_String(const CFX_ByteString& str, FX_BOOL bHex); |
explicit CPDF_String(const CFX_WideString& str); |
+ ~CPDF_String() override; |
// CPDF_Object. |
Type GetType() const override; |
@@ -30,8 +31,6 @@ class CPDF_String : public CPDF_Object { |
FX_BOOL IsHex() const { return m_bHex; } |
protected: |
- ~CPDF_String() override; |
- |
CFX_ByteString m_String; |
FX_BOOL m_bHex; |
}; |