Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(320)

Unified Diff: xfa/fxfa/app/xfa_ffbarcode.cpp

Issue 2422303003: Remove FWL Create methods, use new instead (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: xfa/fxfa/app/xfa_ffbarcode.cpp
diff --git a/xfa/fxfa/app/xfa_ffbarcode.cpp b/xfa/fxfa/app/xfa_ffbarcode.cpp
index 4bb3ba0a4dde5776db3bc611920fdd30ff06f7cd..523344cc47d1a578beb5b3c37370b7f00b82af43 100644
--- a/xfa/fxfa/app/xfa_ffbarcode.cpp
+++ b/xfa/fxfa/app/xfa_ffbarcode.cpp
@@ -121,7 +121,7 @@ CXFA_FFBarcode::CXFA_FFBarcode(CXFA_FFPageView* pPageView,
: CXFA_FFTextEdit(pPageView, pDataAcc) {}
CXFA_FFBarcode::~CXFA_FFBarcode() {}
FX_BOOL CXFA_FFBarcode::LoadWidget() {
- CFWL_Barcode* pFWLBarcode = CFWL_Barcode::Create();
+ CFWL_Barcode* pFWLBarcode = new CFWL_Barcode;
if (pFWLBarcode) {
Lei Zhang 2016/10/18 19:12:14 remove
dsinclair 2016/10/19 14:41:38 Done.
pFWLBarcode->Initialize();
}

Powered by Google App Engine
This is Rietveld 408576698