Index: xfa/fwl/core/fwl_widgetimp.cpp |
diff --git a/xfa/fwl/core/fwl_widgetimp.cpp b/xfa/fwl/core/fwl_widgetimp.cpp |
index a7338b18a6d70f401997075d3d1a74eaa0d4c8c4..6e8ec09243b0431e4be3c969cda1b23f686398bd 100644 |
--- a/xfa/fwl/core/fwl_widgetimp.cpp |
+++ b/xfa/fwl/core/fwl_widgetimp.cpp |
@@ -638,7 +638,7 @@ IFWL_ThemeProvider* CFWL_WidgetImp::GetAvailableTheme() { |
: m_pWidgetMgr->GetParentWidget(pUp); |
if (pUp) { |
IFWL_ThemeProvider* pRet = pUp->GetThemeProvider(); |
- if (pRet && pRet->IsValidWidget(m_pInterface)) |
+ if (pRet) |
return pRet; |
} |
} while (pUp); |