diff options
author | thestig <thestig@chromium.org> | 2016-05-23 14:56:02 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-23 14:56:02 -0700 |
commit | 490d6128e6faef423fa6f965f792513e138bc04a (patch) | |
tree | c9e3ea73ae672b0861c92a188a9b84e808d827ea /core/fpdfapi/fpdf_page/pageint.h | |
parent | 109975b30dbb2b047001a840b8a1e77434fce7b3 (diff) | |
download | pdfium-490d6128e6faef423fa6f965f792513e138bc04a.tar.xz |
Make CPDF_Function::Load() return an unique_ptr.chromium/2750chromium/2749chromium/2748
Review-Url: https://codereview.chromium.org/2000973002
Diffstat (limited to 'core/fpdfapi/fpdf_page/pageint.h')
-rw-r--r-- | core/fpdfapi/fpdf_page/pageint.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<CPDF_Function> Load(CPDF_Object* pFuncObj); static Type IntegerToFunctionType(int iType); virtual ~CPDF_Function(); |