| Index: core/fpdfapi/fpdf_page/cpdf_generalstate.cpp
|
| diff --git a/core/fpdfapi/fpdf_page/cpdf_generalstate.cpp b/core/fpdfapi/fpdf_page/cpdf_generalstate.cpp
|
| index ff22d4d74b8559ecfbe09358c5a17401429397b6..0f6cce6e29846b44045613f4f19c10a0cae2e06b 100644
|
| --- a/core/fpdfapi/fpdf_page/cpdf_generalstate.cpp
|
| +++ b/core/fpdfapi/fpdf_page/cpdf_generalstate.cpp
|
| @@ -25,6 +25,5 @@ int RI_StringToId(const CFX_ByteString& ri) {
|
| } // namespace
|
|
|
| void CPDF_GeneralState::SetRenderIntent(const CFX_ByteString& ri) {
|
| - MakePrivateCopy();
|
| - GetObject()->m_RenderIntent = RI_StringToId(ri);
|
| + GetPrivateCopy()->m_RenderIntent = RI_StringToId(ri);
|
| }
|
|
|