diff options
author | dsinclair <dsinclair@chromium.org> | 2016-04-13 13:24:39 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-13 13:24:40 -0700 |
commit | c4c17fbbcf4cd2b72af7c10db0320d78099df66d (patch) | |
tree | daedb56c01607a4d169bf5494ba199dca632c454 /xfa/fwl/core/fwl_widgetmgrimp.cpp | |
parent | 9f3dbbc54c6981f069b57e6714393ac6c0c64231 (diff) | |
download | pdfium-c4c17fbbcf4cd2b72af7c10db0320d78099df66d.tar.xz |
Remove unused FWL methods
This CL removes various methods from FWL that are not called.
Review URL: https://codereview.chromium.org/1886703005
Diffstat (limited to 'xfa/fwl/core/fwl_widgetmgrimp.cpp')
-rw-r--r-- | xfa/fwl/core/fwl_widgetmgrimp.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/xfa/fwl/core/fwl_widgetmgrimp.cpp b/xfa/fwl/core/fwl_widgetmgrimp.cpp index cbf6a9d883..e0ffd9c7b9 100644 --- a/xfa/fwl/core/fwl_widgetmgrimp.cpp +++ b/xfa/fwl/core/fwl_widgetmgrimp.cpp @@ -1007,20 +1007,3 @@ FX_BOOL CFWL_WidgetMgrDelegate::bUseOffscreenDirect(IFWL_Widget* pWidget) { #endif return pItem->iRedrawCounter == 0; } -FX_BOOL FWL_WidgetIsChild(IFWL_Widget* parent, IFWL_Widget* find) { - if (!find) { - return FALSE; - } - IFWL_Widget* child = - FWL_GetWidgetMgr()->GetWidget(parent, FWL_WGTRELATION_FirstChild); - while (child) { - if (child == find) { - return TRUE; - } - if (FWL_WidgetIsChild(child, find)) { - return TRUE; - } - child = FWL_GetWidgetMgr()->GetWidget(child, FWL_WGTRELATION_NextSibling); - } - return FALSE; -} |