summaryrefslogtreecommitdiff
path: root/xfa/fwl/cfwl_widget.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-12-15 13:42:52 -0800
committerCommit bot <commit-bot@chromium.org>2016-12-15 13:42:52 -0800
commit791a0ccd25474d9306ad0df425575869caec3048 (patch)
tree9a52d845cb6876cad2bd14d7644ccf2dc4096d2c /xfa/fwl/cfwl_widget.cpp
parentea7657c883f3bcf9136c00b46450ca4053bee766 (diff)
downloadpdfium-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.cpp4
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);
}