From 1a1d7648d3e338b756e464cebb2ae1a815359afa Mon Sep 17 00:00:00 2001 From: tsepez Date: Tue, 6 Dec 2016 06:29:28 -0800 Subject: Return unique_ptrs from CFX_DIBitmap::Clone(). Because that's what clone does. Perform immediate release in some spots to avoid disrupting too much at once. Review-Url: https://codereview.chromium.org/2534953004 --- core/fpdfapi/render/render_int.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'core/fpdfapi/render/render_int.h') diff --git a/core/fpdfapi/render/render_int.h b/core/fpdfapi/render/render_int.h index 5d04fa77bb..276370d386 100644 --- a/core/fpdfapi/render/render_int.h +++ b/core/fpdfapi/render/render_int.h @@ -85,8 +85,6 @@ class CPDF_DIBSource : public CFX_DIBSource { int clip_left, int clip_width) const override; - CFX_DIBitmap* GetBitmap() const; - void ReleaseBitmap(CFX_DIBitmap* pBitmap) const; uint32_t GetMatteColor() const { return m_MatteColor; } int StartLoadDIBSource(CPDF_Document* pDoc, -- cgit v1.2.3