Index: core/fpdfapi/fpdf_parser/include/cpdf_object.h |
diff --git a/core/fpdfapi/fpdf_parser/include/cpdf_object.h b/core/fpdfapi/fpdf_parser/include/cpdf_object.h |
index 802cbbc63893c2e5b19b86c933cded9852823014..6cdaaf58fd8c5af07c2b0de61c2687dcf19c04ab 100644 |
--- a/core/fpdfapi/fpdf_parser/include/cpdf_object.h |
+++ b/core/fpdfapi/fpdf_parser/include/cpdf_object.h |
@@ -46,6 +46,8 @@ class CPDF_Object { |
void Release(); |
virtual CFX_ByteString GetString() const; |
+ |
+ // Note: |this| must outlive the use of |GetConstString|'s result. |
virtual CFX_ByteStringC GetConstString() const; |
virtual CFX_WideString GetUnicodeText() const; |
virtual FX_FLOAT GetNumber() const; |