summaryrefslogtreecommitdiff
path: root/xfa/fxgraphics/cfx_graphics.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-03-22 14:40:22 -0700
committerTom Sepez <tsepez@chromium.org>2016-03-22 14:40:22 -0700
commit34cc08341b5712c17b504a55aa090eaa59051890 (patch)
tree20ef6100ba00d7c7ab6e7183ff4f88e77fb09eba /xfa/fxgraphics/cfx_graphics.cpp
parent42d1c1cca78f9cd2f64136dcf99fad207c9f4099 (diff)
downloadpdfium-34cc08341b5712c17b504a55aa090eaa59051890.tar.xz
Fix blank xfa rendering broken at f89acbc.
One initializer was lost in that conversion. R=weili@chromium.org Review URL: https://codereview.chromium.org/1824173002 .
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) {