From 3018c1c7323a1aa9fd89c7de5420ed925b5b6611 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Fri, 1 Jun 2018 16:41:23 +0000 Subject: 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 Reviewed-by: dsinclair --- xfa/fxfa/cxfa_ffapp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xfa/fxfa/cxfa_ffapp.h') diff --git a/xfa/fxfa/cxfa_ffapp.h b/xfa/fxfa/cxfa_ffapp.h index c43cb3e6b2..acc3bf0783 100644 --- a/xfa/fxfa/cxfa_ffapp.h +++ b/xfa/fxfa/cxfa_ffapp.h @@ -44,8 +44,8 @@ class CXFA_FFApp { IXFA_AppProvider* GetAppProvider() const { return m_pProvider.Get(); } const CFWL_App* GetFWLApp() const { return m_pFWLApp.get(); } - IFWL_AdapterTimerMgr* GetTimerMgr() const; CXFA_FontMgr* GetXFAFontMgr() { return &m_pFontMgr; } + std::unique_ptr GetTimerMgr() const; void ClearEventTargets(); -- cgit v1.2.3