Index: core/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp |
diff --git a/core/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp b/core/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp |
index 3893d9bd416c7708d6336fbb37ce640dea819f0e..e9f5a6d468e891cd5582c88a6e3536cf34dfbf09 100644 |
--- a/core/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp |
+++ b/core/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp |
@@ -528,7 +528,7 @@ CFX_ByteString PDF_EncodeString(const CFX_ByteString& src, FX_BOOL bHex) { |
result.AppendChar("0123456789ABCDEF"[src[i] % 16]); |
} |
result.AppendChar('>'); |
- return result.AsStringC(); |
+ return result.MakeString(); |
} |
result.AppendChar('('); |
for (int i = 0; i < srclen; i++) { |
@@ -545,7 +545,7 @@ CFX_ByteString PDF_EncodeString(const CFX_ByteString& src, FX_BOOL bHex) { |
result.AppendChar(ch); |
} |
result.AppendChar(')'); |
- return result.AsStringC(); |
+ return result.MakeString(); |
} |
void FlateEncode(const uint8_t* src_buf, |