Index: core/fpdfapi/page/cpdf_image.h |
diff --git a/core/fpdfapi/page/cpdf_image.h b/core/fpdfapi/page/cpdf_image.h |
index ac35ce1ac71dcd394d71a3b53f51260b628e8b9c..1491efe1c630263fe81169489e3ec8153f7f602b 100644 |
--- a/core/fpdfapi/page/cpdf_image.h |
+++ b/core/fpdfapi/page/cpdf_image.h |
@@ -70,7 +70,7 @@ class CPDF_Image { |
private: |
void FinishInitialization(); |
- CPDF_Dictionary* InitJPEG(uint8_t* pData, uint32_t size); |
+ std::unique_ptr<CPDF_Dictionary> InitJPEG(uint8_t* pData, uint32_t size); |
int32_t m_Height = 0; |
int32_t m_Width = 0; |