Index: xfa/fxfa/app/xfa_fwladapter.cpp |
diff --git a/xfa/fxfa/app/xfa_fwladapter.cpp b/xfa/fxfa/app/xfa_fwladapter.cpp |
index d827ad101f2a1e16bec74818481360a62e2650ed..ba38f853a6ef5115b525f79ccc337677aa515932 100644 |
--- a/xfa/fxfa/app/xfa_fwladapter.cpp |
+++ b/xfa/fxfa/app/xfa_fwladapter.cpp |
@@ -13,18 +13,17 @@ CXFA_FWLAdapterWidgetMgr::CXFA_FWLAdapterWidgetMgr() {} |
CXFA_FWLAdapterWidgetMgr::~CXFA_FWLAdapterWidgetMgr() {} |
-FWL_Error CXFA_FWLAdapterWidgetMgr::RepaintWidget(IFWL_Widget* pWidget, |
- const CFX_RectF* pRect) { |
+void CXFA_FWLAdapterWidgetMgr::RepaintWidget(IFWL_Widget* pWidget, |
+ const CFX_RectF* pRect) { |
if (!pWidget) |
- return FWL_Error::Indefinite; |
+ return; |
CXFA_FFWidget* pFFWidget = |
static_cast<CXFA_FFWidget*>(pWidget->GetLayoutItem()); |
if (!pFFWidget) |
- return FWL_Error::Indefinite; |
+ return; |
pFFWidget->AddInvalidateRect(nullptr); |
- return FWL_Error::Succeeded; |
} |
bool CXFA_FWLAdapterWidgetMgr::GetPopupPos(IFWL_Widget* pWidget, |