summaryrefslogtreecommitdiff
path: root/xfa/fxfa
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-06-01 18:19:23 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-06-01 18:19:23 +0000
commitabdf7e101fbfbe4a19aa7e5d6519891126c7cb21 (patch)
tree15c2508f769a053ef11f2efc113ee766fa4e0c5c /xfa/fxfa
parent83a5063e117968b92bf96ba0fd2701f6c78e40a4 (diff)
downloadpdfium-abdf7e101fbfbe4a19aa7e5d6519891126c7cb21.tar.xz
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 <rharrison@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'xfa/fxfa')
-rw-r--r--xfa/fxfa/cxfa_ffapp.cpp4
-rw-r--r--xfa/fxfa/cxfa_ffapp.h2
-rw-r--r--xfa/fxfa/fxfa.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/xfa/fxfa/cxfa_ffapp.cpp b/xfa/fxfa/cxfa_ffapp.cpp
index f6d6bdd6b5..21b2eddbb4 100644
--- a/xfa/fxfa/cxfa_ffapp.cpp
+++ b/xfa/fxfa/cxfa_ffapp.cpp
@@ -67,8 +67,8 @@ CXFA_FWLAdapterWidgetMgr* CXFA_FFApp::GetFWLAdapterWidgetMgr() {
return m_pAdapterWidgetMgr.get();
}
-std::unique_ptr<IFWL_AdapterTimerMgr> CXFA_FFApp::GetTimerMgr() const {
- return m_pProvider->GetTimerMgr();
+std::unique_ptr<IFWL_AdapterTimerMgr> CXFA_FFApp::NewTimerMgr() const {
+ return m_pProvider->NewTimerMgr();
}
void CXFA_FFApp::ClearEventTargets() {
diff --git a/xfa/fxfa/cxfa_ffapp.h b/xfa/fxfa/cxfa_ffapp.h
index acc3bf0783..20db6e06a3 100644
--- a/xfa/fxfa/cxfa_ffapp.h
+++ b/xfa/fxfa/cxfa_ffapp.h
@@ -45,7 +45,7 @@ class CXFA_FFApp {
IXFA_AppProvider* GetAppProvider() const { return m_pProvider.Get(); }
const CFWL_App* GetFWLApp() const { return m_pFWLApp.get(); }
CXFA_FontMgr* GetXFAFontMgr() { return &m_pFontMgr; }
- std::unique_ptr<IFWL_AdapterTimerMgr> GetTimerMgr() const;
+ std::unique_ptr<IFWL_AdapterTimerMgr> NewTimerMgr() const;
void ClearEventTargets();
diff --git a/xfa/fxfa/fxfa.h b/xfa/fxfa/fxfa.h
index 59c8c08de8..1b0c76f584 100644
--- a/xfa/fxfa/fxfa.h
+++ b/xfa/fxfa/fxfa.h
@@ -202,7 +202,7 @@ class IXFA_AppProvider {
const WideString& wsData,
const WideString& wsEncode) = 0;
- virtual std::unique_ptr<IFWL_AdapterTimerMgr> GetTimerMgr() = 0;
+ virtual std::unique_ptr<IFWL_AdapterTimerMgr> NewTimerMgr() = 0;
};
class IXFA_DocEnvironment {