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 5e71002d4d6f3061e624b1fe210e8c453469c626..5f8d425b96e554a92571f19f4511e27c6ca895b8 100644 |
--- a/core/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp |
+++ b/core/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp |
@@ -530,7 +530,7 @@ CFX_ByteString PDF_EncodeString(const CFX_ByteString& src, FX_BOOL bHex) { |
result.AppendChar("0123456789ABCDEF"[src[i] % 16]); |
} |
result.AppendChar('>'); |
- return result.GetByteString(); |
+ return result.AsStringC(); |
} |
result.AppendChar('('); |
for (int i = 0; i < srclen; i++) { |
@@ -547,7 +547,7 @@ CFX_ByteString PDF_EncodeString(const CFX_ByteString& src, FX_BOOL bHex) { |
result.AppendChar(ch); |
} |
result.AppendChar(')'); |
- return result.GetByteString(); |
+ return result.AsStringC(); |
} |
void FlateEncode(const uint8_t* src_buf, |