Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Unified Diff: xfa/include/fxgraphics/fx_graphics.h

Issue 1508883003: Replace more static casts in FWL (part 3) (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Remove Transfer() default args since they're always present. Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « xfa/include/fwl/core/fwl_widgetmgr.h ('k') | xfa/src/fwl/src/core/fwl_appimp.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/include/fxgraphics/fx_graphics.h
diff --git a/xfa/include/fxgraphics/fx_graphics.h b/xfa/include/fxgraphics/fx_graphics.h
index fb18dcebe9eab66a9836b98d827016b749265e9e..4131f45f864feed7bc72327b219850ca7211922a 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();
« no previous file with comments | « xfa/include/fwl/core/fwl_widgetmgr.h ('k') | xfa/src/fwl/src/core/fwl_appimp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698