diff options
author | tsepez <tsepez@chromium.org> | 2016-11-21 16:22:10 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-21 16:22:10 -0800 |
commit | 06104a8abc71ecd824d6a461b6f6f31c32fd2135 (patch) | |
tree | 713f7dfacbdaec5e0ac25e8fe1d197a27453a725 /core/fpdfapi/page/cpdf_image.h | |
parent | dc7ec035a6962b788e75f4beaa4cf8fbddd83d39 (diff) | |
download | pdfium-06104a8abc71ecd824d6a461b6f6f31c32fd2135.tar.xz |
Remove some WrapUnique() calls by returing unique_ptrs
Return these from underlying methods as appropriate.
Review-Url: https://codereview.chromium.org/2520133002
Diffstat (limited to 'core/fpdfapi/page/cpdf_image.h')
-rw-r--r-- | core/fpdfapi/page/cpdf_image.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/page/cpdf_image.h b/core/fpdfapi/page/cpdf_image.h index ac35ce1ac7..1491efe1c6 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; |