diff options
author | dsinclair <dsinclair@chromium.org> | 2016-12-15 13:42:52 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-12-15 13:42:52 -0800 |
commit | 791a0ccd25474d9306ad0df425575869caec3048 (patch) | |
tree | 9a52d845cb6876cad2bd14d7644ccf2dc4096d2c /xfa/fwl/cfwl_widget.cpp | |
parent | ea7657c883f3bcf9136c00b46450ca4053bee766 (diff) | |
download | pdfium-791a0ccd25474d9306ad0df425575869caec3048.tar.xz |
Remove unused widget state flags
These widget state flags are not set and mostly unused. Removed.
Review-Url: https://codereview.chromium.org/2573133002
Diffstat (limited to 'xfa/fwl/cfwl_widget.cpp')
-rw-r--r-- | xfa/fwl/cfwl_widget.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/xfa/fwl/cfwl_widget.cpp b/xfa/fwl/cfwl_widget.cpp index 40b922395e..a1ed56fb08 100644 --- a/xfa/fwl/cfwl_widget.cpp +++ b/xfa/fwl/cfwl_widget.cpp @@ -274,10 +274,6 @@ bool CFWL_Widget::IsEnabled() const { return (m_pProperties->m_dwStates & FWL_WGTSTATE_Disabled) == 0; } -bool CFWL_Widget::IsActive() const { - return (m_pProperties->m_dwStates & FWL_WGTSTATE_Deactivated) == 0; -} - bool CFWL_Widget::HasBorder() const { return !!(m_pProperties->m_dwStyles & FWL_WGTSTYLE_Border); } |