Index: core/fpdfapi/page/cpdf_colorspace.cpp |
diff --git a/core/fpdfapi/page/cpdf_colorspace.cpp b/core/fpdfapi/page/cpdf_colorspace.cpp |
index 12af11e7d4d9730af2ddc0c84842e3eb3688efed..fe840d10df373961a083a4187ea8caf9f8dab58f 100644 |
--- a/core/fpdfapi/page/cpdf_colorspace.cpp |
+++ b/core/fpdfapi/page/cpdf_colorspace.cpp |
@@ -345,7 +345,7 @@ std::unique_ptr<CPDF_ColorSpace> CPDF_ColorSpace::Load(CPDF_Document* pDoc, |
for (const auto& it : *pDict) { |
std::unique_ptr<CPDF_ColorSpace> pRet; |
- CPDF_Object* pValue = it.second.get(); |
+ CPDF_Object* pValue = it.second; |
if (ToName(pValue)) |
pRet.reset(ColorspaceFromName(pValue->GetString())); |
if (pRet) |