diff options
author | Henrique Nakashima <hnakashima@chromium.org> | 2018-05-11 18:37:26 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-05-11 18:37:26 +0000 |
commit | ce7a8158376dd81e2321a77a331dca5f451b471c (patch) | |
tree | 9de6a5e8356c8392bfe6890cc4822cadd5b56dae /xfa/fwl/cfwl_widgetmgr.h | |
parent | ddfa5177021f76b4d84c6fbdce964ab3ca17e046 (diff) | |
download | pdfium-ce7a8158376dd81e2321a77a331dca5f451b471c.tar.xz |
Remove CFWL_WidgetMgr::IsFormDisabled().
This method always returns true, so make that assumption and clean up
dead code.
More cleanups will follow this one to remove the code that can now
be inferred to be dead.
Change-Id: I73f077561ab511a1c2c09ac6990ab5cdc5bfb055
Reviewed-on: https://pdfium-review.googlesource.com/32391
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'xfa/fwl/cfwl_widgetmgr.h')
-rw-r--r-- | xfa/fwl/cfwl_widgetmgr.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/xfa/fwl/cfwl_widgetmgr.h b/xfa/fwl/cfwl_widgetmgr.h index 8a6e974447..536dce9d2b 100644 --- a/xfa/fwl/cfwl_widgetmgr.h +++ b/xfa/fwl/cfwl_widgetmgr.h @@ -56,10 +56,6 @@ class CFWL_WidgetMgr { CFWL_Widget* GetDefaultButton(CFWL_Widget* pParent) const; void AddRedrawCounts(CFWL_Widget* pWidget); - bool IsFormDisabled() const { - return !!(m_dwCapability & FWL_WGTMGR_DisableForm); - } - void GetAdapterPopupPos(CFWL_Widget* pWidget, float fMinHeight, float fMaxHeight, @@ -111,7 +107,6 @@ class CFWL_WidgetMgr { bool IsAbleNative(CFWL_Widget* pWidget) const; - uint32_t m_dwCapability; std::map<CFWL_Widget*, std::unique_ptr<Item>> m_mapWidgetItem; UnownedPtr<CXFA_FWLAdapterWidgetMgr> const m_pAdapter; #if _FX_PLATFORM_ == _FX_PLATFORM_WINDOWS_ |