summaryrefslogtreecommitdiff
path: root/xfa/fxgraphics/cfx_graphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxgraphics/cfx_graphics.cpp')
-rw-r--r--xfa/fxgraphics/cfx_graphics.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/xfa/fxgraphics/cfx_graphics.cpp b/xfa/fxgraphics/cfx_graphics.cpp
index a0b1b07bca..c879e54a6c 100644
--- a/xfa/fxgraphics/cfx_graphics.cpp
+++ b/xfa/fxgraphics/cfx_graphics.cpp
@@ -566,7 +566,9 @@ const FX_HATCHDATA hatchBitmapData[FX_HATCHSTYLE_Total] = {
} // namespace
CFX_Graphics::CFX_Graphics()
- : m_renderDevice(nullptr), m_aggGraphics(nullptr) {}
+ : m_type(FX_CONTEXT_None),
+ m_renderDevice(nullptr),
+ m_aggGraphics(nullptr) {}
FX_ERR CFX_Graphics::Create(CFX_RenderDevice* renderDevice,
FX_BOOL isAntialiasing) {