Index: xfa/fwl/lightwidget/cfwl_barcode.cpp |
diff --git a/xfa/fwl/lightwidget/cfwl_barcode.cpp b/xfa/fwl/lightwidget/cfwl_barcode.cpp |
index dd8d9f073a48a19a8a4a779473bf8fbe40f1e707..c26d719b3fef069949465b0bd4d8e63c19eea79b 100644 |
--- a/xfa/fwl/lightwidget/cfwl_barcode.cpp |
+++ b/xfa/fwl/lightwidget/cfwl_barcode.cpp |
@@ -22,8 +22,8 @@ FWL_Error CFWL_Barcode::Initialize(const CFWL_WidgetProperties* pProperties) { |
if (pProperties) { |
*m_pProperties = *pProperties; |
} |
- std::unique_ptr<IFWL_Barcode> pBarcode(IFWL_Barcode::Create( |
- m_pProperties->MakeWidgetImpProperties(&m_barcodeData))); |
+ std::unique_ptr<IFWL_Barcode> pBarcode( |
+ new IFWL_Barcode(m_pProperties->MakeWidgetImpProperties(&m_barcodeData))); |
FWL_Error ret = pBarcode->Initialize(); |
if (ret != FWL_Error::Succeeded) { |
return ret; |