Index: core/fpdfapi/page/cpdf_image.h |
diff --git a/core/fpdfapi/page/cpdf_image.h b/core/fpdfapi/page/cpdf_image.h |
index 848b0e4462a70d2852229dd65e85e966983167b0..377565ef3290aa6eb5352dc0d952b3f4d4aeb463 100644 |
--- a/core/fpdfapi/page/cpdf_image.h |
+++ b/core/fpdfapi/page/cpdf_image.h |
@@ -75,7 +75,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; |