summaryrefslogtreecommitdiff
path: root/xfa/include/fxgraphics/fx_graphics.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-12-10 12:29:58 -0800
committerTom Sepez <tsepez@chromium.org>2015-12-10 12:29:58 -0800
commit33c8c7602f8981c32d37a9b2e25496401e914391 (patch)
treedddaa54eefd8fe095a9e0174df88001c8435729b /xfa/include/fxgraphics/fx_graphics.h
parent7ed503d2dbe0b51550f85df1c47990d12eb68f59 (diff)
downloadpdfium-33c8c7602f8981c32d37a9b2e25496401e914391.tar.xz
Replace more static casts in FWL (part 3)
R=thestig@chromium.org Review URL: https://codereview.chromium.org/1508883003 .
Diffstat (limited to 'xfa/include/fxgraphics/fx_graphics.h')
-rw-r--r--xfa/include/fxgraphics/fx_graphics.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/xfa/include/fxgraphics/fx_graphics.h b/xfa/include/fxgraphics/fx_graphics.h
index fb18dcebe9..4131f45f86 100644
--- a/xfa/include/fxgraphics/fx_graphics.h
+++ b/xfa/include/fxgraphics/fx_graphics.h
@@ -212,7 +212,7 @@ class CFX_Graphics {
const CFX_RectF& rect,
CFX_Matrix* matrix = NULL);
- FX_ERR ConcatMatrix(CFX_Matrix* matrix);
+ FX_ERR ConcatMatrix(const CFX_Matrix* matrix);
CFX_Matrix* GetMatrix();
@@ -241,13 +241,12 @@ class CFX_Graphics {
FX_BOOL isMultiline = FALSE,
CFX_Matrix* matrix = NULL);
- FX_ERR Transfer(CFX_Graphics* graphics, CFX_Matrix* matrix = NULL);
-
+ FX_ERR Transfer(CFX_Graphics* graphics, const CFX_Matrix* matrix);
FX_ERR Transfer(CFX_Graphics* graphics,
FX_FLOAT srcLeft,
FX_FLOAT srcTop,
const CFX_RectF& dstRect,
- CFX_Matrix* matrix = NULL);
+ const CFX_Matrix* matrix);
CFX_RenderDevice* GetRenderDevice();