summaryrefslogtreecommitdiff
path: root/xfa/fxgraphics/cagg_graphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxgraphics/cagg_graphics.cpp')
-rw-r--r--xfa/fxgraphics/cagg_graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxgraphics/cagg_graphics.cpp b/xfa/fxgraphics/cagg_graphics.cpp
index 564a2b14cc..5d1f563613 100644
--- a/xfa/fxgraphics/cagg_graphics.cpp
+++ b/xfa/fxgraphics/cagg_graphics.cpp
@@ -18,7 +18,7 @@ FWL_Error CAGG_Graphics::Create(CFX_Graphics* owner,
return FWL_Error::PropertyInvalid;
CFX_FxgeDevice* device = new CFX_FxgeDevice;
- device->Create(width, height, format);
+ device->Create(width, height, format, nullptr);
m_owner = owner;
m_owner->m_renderDevice = device;
m_owner->m_renderDevice->GetBitmap()->Clear(0xFFFFFFFF);