| Index: xfa/fwl/theme/cfwl_formtp.cpp
|
| diff --git a/xfa/fwl/theme/cfwl_formtp.cpp b/xfa/fwl/theme/cfwl_formtp.cpp
|
| index 4a18ea0cc40ab41383641f16a94debab8f6d58e9..ddc7224eb31708f3704a43165d6aea3fb113a3dd 100644
|
| --- a/xfa/fwl/theme/cfwl_formtp.cpp
|
| +++ b/xfa/fwl/theme/cfwl_formtp.cpp
|
| @@ -59,8 +59,7 @@ FWL_ERR CFWL_FormTP::Finalize() {
|
| FX_BOOL CFWL_FormTP::IsValidWidget(IFWL_Widget* pWidget) {
|
| if (!pWidget)
|
| return FALSE;
|
| - uint32_t dwHash = pWidget->GetClassID();
|
| - return dwHash == FWL_CLASSHASH_Form;
|
| + return pWidget->GetClassID() == FWL_Type::Form;
|
| }
|
| uint32_t CFWL_FormTP::SetThemeID(IFWL_Widget* pWidget,
|
| uint32_t dwThemeID,
|
|
|