diff options
Diffstat (limited to 'xfa/fde')
-rw-r--r-- | xfa/fde/cfde_textout.cpp | 2 | ||||
-rw-r--r-- | xfa/fde/cfde_textout.h | 2 |
2 files changed, 2 insertions, 2 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); } diff --git a/xfa/fde/cfde_textout.h b/xfa/fde/cfde_textout.h index c505c0737f..360c3051e9 100644 --- a/xfa/fde/cfde_textout.h +++ b/xfa/fde/cfde_textout.h @@ -12,7 +12,7 @@ #include <vector> #include "core/fxcrt/cfx_char.h" -#include "core/fxge/cfx_fxgedevice.h" +#include "core/fxge/cfx_defaultrenderdevice.h" #include "core/fxge/cfx_renderdevice.h" #include "core/fxge/fx_dib.h" #include "xfa/fgas/font/cfgas_fontmgr.h" |