Index: core/fpdfapi/page/cpdf_image.h |
diff --git a/core/fpdfapi/page/cpdf_image.h b/core/fpdfapi/page/cpdf_image.h |
index 38c7e3e7281bd2c6efb895a5b5a09063a793b462..1b0d74f12331faaf3e76cf45561f6ce42272a676 100644 |
--- a/core/fpdfapi/page/cpdf_image.h |
+++ b/core/fpdfapi/page/cpdf_image.h |
@@ -51,7 +51,7 @@ class CPDF_Image { |
bool bLoadMask = false) const; |
void SetImage(const CFX_DIBitmap* pDIBitmap); |
- void SetJpegImage(IFX_SeekableReadStream* pFile); |
+ void SetJpegImage(const CFX_RetainPtr<IFX_SeekableReadStream>& pFile); |
void ResetCache(CPDF_Page* pPage, const CFX_DIBitmap* pDIBitmap); |