Index: core/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp |
diff --git a/core/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp b/core/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp |
index bfd0de44b6d8a53e1469d4a1f4a5d6508246107d..466ccaffa592e754443f155cbd3739b8b9b61048 100644 |
--- a/core/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp |
+++ b/core/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp |
@@ -112,7 +112,7 @@ CFX_ByteString PDF_NameDecode(const CFX_ByteString& orig) { |
if (!FXSYS_memchr(orig.c_str(), '#', orig.GetLength())) { |
return orig; |
} |
- return PDF_NameDecode(CFX_ByteStringC(orig)); |
+ return PDF_NameDecode(orig.AsStringC()); |
} |
CFX_ByteString PDF_NameEncode(const CFX_ByteString& orig) { |