summaryrefslogtreecommitdiff
path: root/xfa/fde/cfde_textout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fde/cfde_textout.cpp')
-rw-r--r--xfa/fde/cfde_textout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fde/cfde_textout.cpp b/xfa/fde/cfde_textout.cpp
index d5706dd497..b41ee1fbd8 100644
--- a/xfa/fde/cfde_textout.cpp
+++ b/xfa/fde/cfde_textout.cpp
@@ -119,7 +119,7 @@ void CFDE_TextOut::SetDIBitmap(const CFX_RetainPtr<CFX_DIBitmap>& pDIB) {
ASSERT(pDIB);
m_pRenderDevice.reset();
- CFX_FxgeDevice* device = new CFX_FxgeDevice;
+ CFX_DefaultRenderDevice* device = new CFX_DefaultRenderDevice;
device->Attach(pDIB, false, nullptr, false);
m_pRenderDevice = pdfium::MakeUnique<CFDE_RenderDevice>(device, false);
}