Index: xfa/fwl/cfwl_widget.cpp |
diff --git a/xfa/fwl/cfwl_widget.cpp b/xfa/fwl/cfwl_widget.cpp |
index 6c33c7674ee30cba518254545e7da9138bd1f8bf..7da12fcfbaa9203274bdf30efa3f5e497a43aca0 100644 |
--- a/xfa/fwl/cfwl_widget.cpp |
+++ b/xfa/fwl/cfwl_widget.cpp |
@@ -82,10 +82,6 @@ void CFWL_Widget::InflateWidgetRect(CFX_RectF& rect) { |
void CFWL_Widget::SetWidgetRect(const CFX_RectF& rect) { |
m_pProperties->m_rtWidget = rect; |
- if (IsChild()) |
- return; |
- |
- m_pWidgetMgr->SetWidgetRect_Native(this, rect); |
} |
CFX_RectF CFWL_Widget::GetClientRect() { |
@@ -284,10 +280,6 @@ bool CFWL_Widget::IsChild() const { |
return !!(m_pProperties->m_dwStyles & FWL_WGTSTYLE_Child); |
} |
-bool CFWL_Widget::IsOffscreen() const { |
- return !!(m_pProperties->m_dwStyles & FWL_WGTSTYLE_Offscreen); |
-} |
- |
CFX_RectF CFWL_Widget::GetEdgeRect() { |
CFX_RectF rtEdge = m_pProperties->m_rtWidget; |
rtEdge.left = rtEdge.top = 0; |