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

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

Issue 2031873003: Get rid of NULLs in xfa/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium@nullptr_fpdfsdk
Patch Set: Created 4 years, 6 months 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/fxfa/parser/xfa_utils_imp.cpp ('k') | xfa/fxjse/class.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fxgraphics/include/cfx_graphics.h
diff --git a/xfa/fxgraphics/include/cfx_graphics.h b/xfa/fxgraphics/include/cfx_graphics.h
index 3f969432eaaaa3791baeed21e8c1039e49a65356..b1909bf5cf97b1e978ec27433d5d8846203cac71 100644
--- a/xfa/fxgraphics/include/cfx_graphics.h
+++ b/xfa/fxgraphics/include/cfx_graphics.h
@@ -142,28 +142,28 @@ class CFX_Graphics {
FWL_Error SetCharSpacing(const FX_FLOAT spacing);
FWL_Error SetTextDrawingMode(const int32_t mode);
- FWL_Error StrokePath(CFX_Path* path, CFX_Matrix* matrix = NULL);
+ FWL_Error StrokePath(CFX_Path* path, CFX_Matrix* matrix = nullptr);
FWL_Error FillPath(CFX_Path* path,
FX_FillMode fillMode = FXFILL_WINDING,
- CFX_Matrix* matrix = NULL);
+ CFX_Matrix* matrix = nullptr);
FWL_Error ClipPath(CFX_Path* path,
FX_FillMode fillMode = FXFILL_WINDING,
- CFX_Matrix* matrix = NULL);
+ CFX_Matrix* matrix = nullptr);
FWL_Error DrawImage(CFX_DIBSource* source,
const CFX_PointF& point,
- CFX_Matrix* matrix = NULL);
+ CFX_Matrix* matrix = nullptr);
FWL_Error StretchImage(CFX_DIBSource* source,
const CFX_RectF& rect,
- CFX_Matrix* matrix = NULL);
+ CFX_Matrix* matrix = nullptr);
FWL_Error ConcatMatrix(const CFX_Matrix* matrix);
FWL_Error ClearClip();
FWL_Error ShowText(const CFX_PointF& point,
const CFX_WideString& text,
- CFX_Matrix* matrix = NULL);
+ CFX_Matrix* matrix = nullptr);
FWL_Error CalcTextRect(CFX_RectF& rect,
const CFX_WideString& text,
FX_BOOL isMultiline = FALSE,
- CFX_Matrix* matrix = NULL);
+ CFX_Matrix* matrix = nullptr);
FWL_Error Transfer(CFX_Graphics* graphics, const CFX_Matrix* matrix);
FWL_Error Transfer(CFX_Graphics* graphics,
FX_FLOAT srcLeft,
« no previous file with comments | « xfa/fxfa/parser/xfa_utils_imp.cpp ('k') | xfa/fxjse/class.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698