summaryrefslogtreecommitdiff
path: root/xfa/fxfa/app/xfa_ffapp.cpp
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-05-18 14:01:15 -0700
committerCommit bot <commit-bot@chromium.org>2016-05-18 14:01:16 -0700
commit0aae2a773cf51632b7808ab0e5b5c1635cf6a5fa (patch)
tree44ab45c6fba0487bb776fffb4dafe198fe8dbb32 /xfa/fxfa/app/xfa_ffapp.cpp
parentf1a52caa6756049922a16203c9a0faee92cc07c3 (diff)
downloadpdfium-0aae2a773cf51632b7808ab0e5b5c1635cf6a5fa.tar.xz
Remove Release() from CXFA_FWLTheme
Cleanup virtual overrides along the way. Add final to other class deriving from pure virtual interface. Review-Url: https://codereview.chromium.org/1988373002
Diffstat (limited to 'xfa/fxfa/app/xfa_ffapp.cpp')
-rw-r--r--xfa/fxfa/app/xfa_ffapp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/app/xfa_ffapp.cpp b/xfa/fxfa/app/xfa_ffapp.cpp
index 7f19b26440..2dcb7a4e81 100644
--- a/xfa/fxfa/app/xfa_ffapp.cpp
+++ b/xfa/fxfa/app/xfa_ffapp.cpp
@@ -79,6 +79,7 @@ CXFA_FFApp::CXFA_FFApp(IXFA_AppProvider* pProvider)
m_pFWLApp->Initialize();
CXFA_TimeZoneProvider::Create();
}
+
CXFA_FFApp::~CXFA_FFApp() {
delete m_pDocHandler;
if (m_pFWLApp) {
@@ -86,8 +87,7 @@ CXFA_FFApp::~CXFA_FFApp() {
m_pFWLApp->Release();
delete m_pFWLApp;
}
- if (m_pFWLTheme)
- m_pFWLTheme->Release();
+ delete m_pFWLTheme;
delete m_pAdapterWidgetMgr;
CXFA_TimeZoneProvider::Destroy();