diff options
author | 2015-08-27 07:41:13 -0700 | |
---|---|---|
committer | 2015-08-27 07:41:16 -0700 | |
commit | 96fcdcc219d2a0d3579719b84b28bede76efba64 (patch) | |
tree | 0ec5ea0193d8292df8bf5ed9dd8498a5eb5763dd /gm/beziereffects.cpp | |
parent | 435af2f736c85c3274a0c6760a3523810750d237 (diff) |
Style Change: NULL->nullptr
DOCS_PREVIEW= https://skia.org/?cl=1316233002
Review URL: https://codereview.chromium.org/1316233002
Diffstat (limited to 'gm/beziereffects.cpp')
-rw-r--r-- | gm/beziereffects.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gm/beziereffects.cpp b/gm/beziereffects.cpp index 9edc11411a..ff75f74c66 100644 --- a/gm/beziereffects.cpp +++ b/gm/beziereffects.cpp @@ -121,12 +121,12 @@ protected: void onDraw(SkCanvas* canvas) override { GrRenderTarget* rt = canvas->internal_private_accessTopLayerRenderTarget(); - if (NULL == rt) { + if (nullptr == rt) { this->drawGpuOnlyMessage(canvas); return; } GrContext* context = rt->getContext(); - if (NULL == context) { + if (nullptr == context) { return; } @@ -159,7 +159,7 @@ protected: { // scope to contain GrTestTarget GrTestTarget tt; context->getTestTarget(&tt); - if (NULL == tt.target()) { + if (nullptr == tt.target()) { continue; } GrPrimitiveEdgeType et = (GrPrimitiveEdgeType)edgeType; @@ -269,12 +269,12 @@ protected: void onDraw(SkCanvas* canvas) override { GrRenderTarget* rt = canvas->internal_private_accessTopLayerRenderTarget(); - if (NULL == rt) { + if (nullptr == rt) { this->drawGpuOnlyMessage(canvas); return; } GrContext* context = rt->getContext(); - if (NULL == context) { + if (nullptr == context) { return; } @@ -307,7 +307,7 @@ protected: { // scope to contain GrTestTarget GrTestTarget tt; context->getTestTarget(&tt); - if (NULL == tt.target()) { + if (nullptr == tt.target()) { continue; } GrPrimitiveEdgeType et = (GrPrimitiveEdgeType)edgeType; @@ -512,12 +512,12 @@ protected: void onDraw(SkCanvas* canvas) override { GrRenderTarget* rt = canvas->internal_private_accessTopLayerRenderTarget(); - if (NULL == rt) { + if (nullptr == rt) { this->drawGpuOnlyMessage(canvas); return; } GrContext* context = rt->getContext(); - if (NULL == context) { + if (nullptr == context) { return; } @@ -548,7 +548,7 @@ protected: { // scope to contain GrTestTarget GrTestTarget tt; context->getTestTarget(&tt); - if (NULL == tt.target()) { + if (nullptr == tt.target()) { continue; } GrPrimitiveEdgeType et = (GrPrimitiveEdgeType)edgeType; |