From 06104a8abc71ecd824d6a461b6f6f31c32fd2135 Mon Sep 17 00:00:00 2001 From: tsepez Date: Mon, 21 Nov 2016 16:22:10 -0800 Subject: Remove some WrapUnique() calls by returing unique_ptrs Return these from underlying methods as appropriate. Review-Url: https://codereview.chromium.org/2520133002 --- core/fpdfapi/page/cpdf_image.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/fpdfapi/page/cpdf_image.h') 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 InitJPEG(uint8_t* pData, uint32_t size); int32_t m_Height = 0; int32_t m_Width = 0; -- cgit v1.2.3