From abdf7e101fbfbe4a19aa7e5d6519891126c7cb21 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Fri, 1 Jun 2018 18:19:23 +0000 Subject: Rename CPDFXFA_Context::GetTimerMgr() to NewTimerMgr() Because it returns an unique_ptr to a newly-created object. Also rename m_pTimeMgrAdapter to m_pAdapterTimerMgr, because in English, adjectives come first, and this is a TimerMgr obtained from an Adatper, not an Adapter for a TimerMgr. Also change TimeMgr to TimerMgr since the manager manages timers, not time itself. Follow-on from https://pdfium-review.googlesource.com/c/pdfium/+/33230 No functional change. Change-Id: I08d2b6cd8cc816f38326e87ee46060f091c74fdf Reviewed-on: https://pdfium-review.googlesource.com/33570 Reviewed-by: Ryan Harrison Commit-Queue: Ryan Harrison --- fpdfsdk/fpdfxfa/cpdfxfa_context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fpdfsdk/fpdfxfa/cpdfxfa_context.cpp') diff --git a/fpdfsdk/fpdfxfa/cpdfxfa_context.cpp b/fpdfsdk/fpdfxfa/cpdfxfa_context.cpp index 446a77ea96..385bbe7074 100644 --- a/fpdfsdk/fpdfxfa/cpdfxfa_context.cpp +++ b/fpdfsdk/fpdfxfa/cpdfxfa_context.cpp @@ -341,7 +341,7 @@ bool CPDFXFA_Context::PutRequestURL(const WideString& wsURL, m_pFormFillEnv->PutRequestURL(wsURL, wsData, wsEncode); } -std::unique_ptr CPDFXFA_Context::GetTimerMgr() { +std::unique_ptr CPDFXFA_Context::NewTimerMgr() { if (!m_pFormFillEnv) return nullptr; return pdfium::MakeUnique(m_pFormFillEnv.Get()); -- cgit v1.2.3