Index: core/fpdfapi/fpdf_page/cpdf_allstates.cpp |
diff --git a/core/fpdfapi/fpdf_page/cpdf_allstates.cpp b/core/fpdfapi/fpdf_page/cpdf_allstates.cpp |
index 159de584eec24b37f327aa96ace2011fe2a3b3b7..d81a488d2070cdbfc8b00e3e3fbb8cc9970720cf 100644 |
--- a/core/fpdfapi/fpdf_page/cpdf_allstates.cpp |
+++ b/core/fpdfapi/fpdf_page/cpdf_allstates.cpp |
@@ -115,7 +115,7 @@ void CPDF_AllStates::ProcessExtGS(CPDF_Dictionary* pGS, |
CFX_ByteString mode = |
pArray ? pArray->GetStringAt(0) : pObject->GetString(); |
- pGeneralState->SetBlendMode(mode); |
+ pGeneralState->SetBlendMode(mode.AsByteStringC()); |
if (pGeneralState->m_BlendType > FXDIB_BLEND_MULTIPLY) { |
pParser->GetPageObjectHolder()->SetBackgroundAlphaNeeded(TRUE); |
} |