Index: xfa/fxgraphics/cfx_graphics.cpp |
diff --git a/xfa/fxgraphics/cfx_graphics.cpp b/xfa/fxgraphics/cfx_graphics.cpp |
index a0b1b07bcaf2e8b28cefecbfe9dd13e1e1f5a992..c879e54a6c2c05943b713b4de6dc54d111fe9fe0 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) { |