From 791a0ccd25474d9306ad0df425575869caec3048 Mon Sep 17 00:00:00 2001 From: dsinclair Date: Thu, 15 Dec 2016 13:42:52 -0800 Subject: Remove unused widget state flags These widget state flags are not set and mostly unused. Removed. Review-Url: https://codereview.chromium.org/2573133002 --- xfa/fwl/cfwl_widget.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'xfa/fwl/cfwl_widget.cpp') 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); } -- cgit v1.2.3