From 490d6128e6faef423fa6f965f792513e138bc04a Mon Sep 17 00:00:00 2001 From: thestig Date: Mon, 23 May 2016 14:56:02 -0700 Subject: Make CPDF_Function::Load() return an unique_ptr. Review-Url: https://codereview.chromium.org/2000973002 --- core/fpdfapi/fpdf_page/pageint.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/fpdfapi/fpdf_page/pageint.h') diff --git a/core/fpdfapi/fpdf_page/pageint.h b/core/fpdfapi/fpdf_page/pageint.h index b884338f76..b2204d8dbf 100644 --- a/core/fpdfapi/fpdf_page/pageint.h +++ b/core/fpdfapi/fpdf_page/pageint.h @@ -382,7 +382,7 @@ class CPDF_Function { kType4PostScript = 4, }; - static CPDF_Function* Load(CPDF_Object* pFuncObj); + static std::unique_ptr Load(CPDF_Object* pFuncObj); static Type IntegerToFunctionType(int iType); virtual ~CPDF_Function(); -- cgit v1.2.3