aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/beziereffects.cpp
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2015-08-27 07:41:13 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-27 07:41:16 -0700
commit96fcdcc219d2a0d3579719b84b28bede76efba64 (patch)
tree0ec5ea0193d8292df8bf5ed9dd8498a5eb5763dd /gm/beziereffects.cpp
parent435af2f736c85c3274a0c6760a3523810750d237 (diff)
Style Change: NULL->nullptr
Diffstat (limited to 'gm/beziereffects.cpp')
-rw-r--r--gm/beziereffects.cpp18
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;