Index: xfa/fxfa/app/xfa_ffcheckbutton.cpp |
diff --git a/xfa/fxfa/app/xfa_ffcheckbutton.cpp b/xfa/fxfa/app/xfa_ffcheckbutton.cpp |
index 15ff960a15d312b50fbac222f88bd730b4ff4f9e..726abf7f14088b48db9168cc8c0855423c8667ef 100644 |
--- a/xfa/fxfa/app/xfa_ffcheckbutton.cpp |
+++ b/xfa/fxfa/app/xfa_ffcheckbutton.cpp |
@@ -25,7 +25,7 @@ CXFA_FFCheckButton::CXFA_FFCheckButton(CXFA_FFPageView* pPageView, |
} |
CXFA_FFCheckButton::~CXFA_FFCheckButton() {} |
FX_BOOL CXFA_FFCheckButton::LoadWidget() { |
- CFWL_CheckBox* pCheckBox = CFWL_CheckBox::Create(); |
+ CFWL_CheckBox* pCheckBox = new CFWL_CheckBox; |
pCheckBox->Initialize(); |
m_pNormalWidget = pCheckBox; |
m_pNormalWidget->SetLayoutItem(this); |