diff options
author | dsinclair <dsinclair@chromium.org> | 2016-11-21 12:18:28 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-21 12:18:29 -0800 |
commit | 30e5f30f21c182eb54253008ad755abd991e2e07 (patch) | |
tree | a4fe0fc8d5b52e2a75b42318bf05cebc6f619a14 /xfa/fxfa | |
parent | f5cabbfc3085a7a7a3451452c1a7ebe1f19c1223 (diff) | |
download | pdfium-30e5f30f21c182eb54253008ad755abd991e2e07.tar.xz |
Remove customized layout flag from FWL
The Customized Layout flag in FWL is always false. Removed the flag and updated
the code as needed.
Review-Url: https://codereview.chromium.org/2520023002
Diffstat (limited to 'xfa/fxfa')
-rw-r--r-- | xfa/fxfa/app/xfa_fwltheme.cpp | 4 | ||||
-rw-r--r-- | xfa/fxfa/app/xfa_fwltheme.h | 1 |
2 files changed, 0 insertions, 5 deletions
diff --git a/xfa/fxfa/app/xfa_fwltheme.cpp b/xfa/fxfa/app/xfa_fwltheme.cpp index 01799496d8..34023a4f87 100644 --- a/xfa/fxfa/app/xfa_fwltheme.cpp +++ b/xfa/fxfa/app/xfa_fwltheme.cpp @@ -310,10 +310,6 @@ void* CXFA_FWLTheme::GetCapacity(CFWL_ThemePart* pThemePart, return GetTheme(pThemePart->m_pWidget)->GetCapacity(pThemePart, dwCapacity); } -bool CXFA_FWLTheme::IsCustomizedLayout(IFWL_Widget* pWidget) { - return GetTheme(pWidget)->IsCustomizedLayout(pWidget); -} - void CXFA_FWLTheme::CalcTextRect(CFWL_ThemeText* pParams, CFX_RectF& rect) { if (pParams->m_pWidget->GetClassID() == FWL_Type::MonthCalendar) { CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pParams->m_pWidget); diff --git a/xfa/fxfa/app/xfa_fwltheme.h b/xfa/fxfa/app/xfa_fwltheme.h index 630653236f..4ba3ffb242 100644 --- a/xfa/fxfa/app/xfa_fwltheme.h +++ b/xfa/fxfa/app/xfa_fwltheme.h @@ -34,7 +34,6 @@ class CXFA_FWLTheme final : public IFWL_ThemeProvider { void DrawText(CFWL_ThemeText* pParams) override; void* GetCapacity(CFWL_ThemePart* pThemePart, CFWL_WidgetCapacity dwCapacity) override; - bool IsCustomizedLayout(IFWL_Widget* pWidget) override; void CalcTextRect(CFWL_ThemeText* pParams, CFX_RectF& rect) override; private: |