summaryrefslogtreecommitdiff
path: root/xfa/fxfa/app/xfa_ffcheckbutton.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-10-19 07:59:25 -0700
committerCommit bot <commit-bot@chromium.org>2016-10-19 07:59:25 -0700
commit0ca71ec811e33818d2ccba3221fdb660811b813c (patch)
treed94dce266dd67bbe94f5c73960734e7b5b691dd1 /xfa/fxfa/app/xfa_ffcheckbutton.cpp
parentc273e8f5006aa7d91d37a5da021dbbabb8721e5b (diff)
downloadpdfium-0ca71ec811e33818d2ccba3221fdb660811b813c.tar.xz
Remove FWL Create methods, use new instead
Review-Url: https://chromiumcodereview.appspot.com/2422303003
Diffstat (limited to 'xfa/fxfa/app/xfa_ffcheckbutton.cpp')
-rw-r--r--xfa/fxfa/app/xfa_ffcheckbutton.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/app/xfa_ffcheckbutton.cpp b/xfa/fxfa/app/xfa_ffcheckbutton.cpp
index 15ff960a15..726abf7f14 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);