From 34cc08341b5712c17b504a55aa090eaa59051890 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Tue, 22 Mar 2016 14:40:22 -0700 Subject: 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 . --- xfa/fxgraphics/cfx_graphics.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'xfa/fxgraphics') 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) { -- cgit v1.2.3