Index: core/fpdfapi/fpdf_page/pageint.h |
diff --git a/core/fpdfapi/fpdf_page/pageint.h b/core/fpdfapi/fpdf_page/pageint.h |
index b884338f7658b34079f79e10526b8b7799455237..b2204d8dbf3e6d313c19dc084e745cdbff2dde24 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<CPDF_Function> Load(CPDF_Object* pFuncObj); |
static Type IntegerToFunctionType(int iType); |
virtual ~CPDF_Function(); |