summaryrefslogtreecommitdiff
path: root/core/fpdfapi/fpdf_page
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/fpdf_page')
-rw-r--r--core/fpdfapi/fpdf_page/cpdf_generalstatedata.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/fpdf_page/cpdf_generalstatedata.cpp b/core/fpdfapi/fpdf_page/cpdf_generalstatedata.cpp
index 2e4b5e4dff..37ec63fb8b 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);
}