summaryrefslogtreecommitdiff
path: root/xfa/fxgraphics/include
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-06-23 12:40:16 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-23 12:40:16 -0700
commit85d1f2c2f9f1e746bedb1b6f03576613f54fbc27 (patch)
treeff5b393fb9b89f006327bee7bc8c955522defb67 /xfa/fxgraphics/include
parent6e12478cb298c3a8277493ee79ae0b73d6df8554 (diff)
downloadpdfium-85d1f2c2f9f1e746bedb1b6f03576613f54fbc27.tar.xz
Remove NULL in xfa/
This CL converts all NULL's to nullptr. All instances of comparison to nullptr have been removed. Review-Url: https://codereview.chromium.org/2095653002
Diffstat (limited to 'xfa/fxgraphics/include')
-rw-r--r--xfa/fxgraphics/include/cfx_graphics.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/xfa/fxgraphics/include/cfx_graphics.h b/xfa/fxgraphics/include/cfx_graphics.h
index 1c2cb354cc..916fba57c7 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,