Index: core/fpdfapi/fpdf_page/cpdf_image.cpp |
diff --git a/core/fpdfapi/fpdf_page/cpdf_image.cpp b/core/fpdfapi/fpdf_page/cpdf_image.cpp |
index af361eb9f6e47bccf0a14a2b35c605125eab37ce..2b3625bfc2b3b38c8a5a285be39ba2cbbd0f44e5 100644 |
--- a/core/fpdfapi/fpdf_page/cpdf_image.cpp |
+++ b/core/fpdfapi/fpdf_page/cpdf_image.cpp |
@@ -69,7 +69,7 @@ CPDF_Image* CPDF_Image::Clone() { |
CPDF_Image* pImage = |
new CPDF_Image(m_pDocument, ToStream(m_pStream->Clone()), m_bInline); |
if (m_bInline) |
- pImage->SetInlineDict(ToDictionary(m_pInlineDict->Clone(TRUE))); |
+ pImage->SetInlineDict(ToDictionary(m_pInlineDict->CloneDirectObject())); |
return pImage; |
} |