Index: core/fpdfdoc/cpvt_color.cpp |
diff --git a/core/fpdfdoc/cpvt_color.cpp b/core/fpdfdoc/cpvt_color.cpp |
index 7ddb9df0d083ac719a70c123f4836d60a9285237..72b8140b7b9bbfcbcf3a14e06debf64d9ec28bfc 100644 |
--- a/core/fpdfdoc/cpvt_color.cpp |
+++ b/core/fpdfdoc/cpvt_color.cpp |
@@ -10,7 +10,7 @@ |
// Static. |
CPVT_Color CPVT_Color::ParseColor(const CFX_ByteString& str) { |
- CPDF_SimpleParser syntax(str.AsByteStringC()); |
+ CPDF_SimpleParser syntax(str.AsStringC()); |
if (syntax.FindTagParamFromStart("g", 1)) |
return CPVT_Color(CPVT_Color::kGray, FX_atof(syntax.GetWord())); |