Index: xfa/fwl/theme/cfwl_widgettp.cpp |
diff --git a/xfa/fwl/theme/cfwl_widgettp.cpp b/xfa/fwl/theme/cfwl_widgettp.cpp |
index 1ce5d46caf1da3ae2c400b83fd3081cf376439d7..2fc80367634a01729743e0e074793cce5c2bbe73 100644 |
--- a/xfa/fwl/theme/cfwl_widgettp.cpp |
+++ b/xfa/fwl/theme/cfwl_widgettp.cpp |
@@ -206,7 +206,7 @@ FX_ERR CFWL_WidgetTP::InitTTO() { |
} |
m_pFDEFont = |
CFWL_FontManager::GetInstance()->FindFont(FX_WSTRC(L"Helvetica"), 0, 0); |
- m_pTextOut = IFDE_TextOut::Create(); |
+ m_pTextOut = new CFDE_TextOut; |
m_pTextOut->SetFont(m_pFDEFont); |
m_pTextOut->SetFontSize(FWLTHEME_CAPACITY_FontSize); |
m_pTextOut->SetTextColor(FWLTHEME_CAPACITY_TextColor); |