Index: core/fpdfapi/fpdf_page/cpdf_generalstatedata.cpp |
diff --git a/core/fpdfapi/fpdf_page/cpdf_generalstatedata.cpp b/core/fpdfapi/fpdf_page/cpdf_generalstatedata.cpp |
index 2e4b5e4dff3c4f979a66b5bf9c344d60f898eff2..37ec63fb8bf0b6ed70178359dadc206f84b308be 100644 |
--- a/core/fpdfapi/fpdf_page/cpdf_generalstatedata.cpp |
+++ b/core/fpdfapi/fpdf_page/cpdf_generalstatedata.cpp |
@@ -89,7 +89,7 @@ void CPDF_GeneralStateData::SetBlendMode(const CFX_ByteStringC& blend_mode) { |
if (blend_mode.GetLength() > 15) { |
return; |
} |
- FXSYS_memcpy(m_BlendMode, blend_mode.GetPtr(), blend_mode.GetLength()); |
+ FXSYS_memcpy(m_BlendMode, blend_mode.raw_str(), blend_mode.GetLength()); |
m_BlendMode[blend_mode.GetLength()] = 0; |
m_BlendType = GetBlendTypeInternal(blend_mode); |
} |