Index: core/fpdfapi/fpdf_parser/cpdf_string.cpp |
diff --git a/core/fpdfapi/fpdf_parser/cpdf_string.cpp b/core/fpdfapi/fpdf_parser/cpdf_string.cpp |
index 9a88e937ab64270e49d72f24b6cab2554c5c3452..3f04d125a26b69e86646564cfbfd7bb153f37a59 100644 |
--- a/core/fpdfapi/fpdf_parser/cpdf_string.cpp |
+++ b/core/fpdfapi/fpdf_parser/cpdf_string.cpp |
@@ -32,7 +32,7 @@ CFX_ByteString CPDF_String::GetString() const { |
} |
CFX_ByteStringC CPDF_String::GetConstString() const { |
- return CFX_ByteStringC(m_String); |
+ return m_String.AsByteStringC(); |
} |
void CPDF_String::SetString(const CFX_ByteString& str) { |