diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-06-01 16:41:23 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-06-01 16:41:23 +0000 |
commit | 3018c1c7323a1aa9fd89c7de5420ed925b5b6611 (patch) | |
tree | 23fdf52f752690c9012c8781e3a3fd0dc0645238 /fpdfsdk/fpdfxfa/cpdfxfa_context.h | |
parent | 180656569acbb93fd1ba4ff9b9264e4b41ca17b2 (diff) | |
download | pdfium-3018c1c7323a1aa9fd89c7de5420ed925b5b6611.tar.xz |
Return unique_ptr from CPDFXFA_Context::GetTimerMgr()
Proves ownership by avoiding a std::unique_ptr::reset() call.
Change-Id: Ia6e11920d84dda49699736ef3189e58d240d409e
Reviewed-on: https://pdfium-review.googlesource.com/33230
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdfxfa/cpdfxfa_context.h')
-rw-r--r-- | fpdfsdk/fpdfxfa/cpdfxfa_context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/fpdfxfa/cpdfxfa_context.h b/fpdfsdk/fpdfxfa/cpdfxfa_context.h index b240e7ee11..6458926a68 100644 --- a/fpdfsdk/fpdfxfa/cpdfxfa_context.h +++ b/fpdfsdk/fpdfxfa/cpdfxfa_context.h @@ -91,7 +91,7 @@ class CPDFXFA_Context : public CPDF_Document::Extension, const WideString& wsData, const WideString& wsEncode) override; - IFWL_AdapterTimerMgr* GetTimerMgr() override; + std::unique_ptr<IFWL_AdapterTimerMgr> GetTimerMgr() override; protected: friend class CPDFXFA_DocEnvironment; |