| Index: src/effects/Sk1DPathEffect.cpp
|
| diff --git a/src/effects/Sk1DPathEffect.cpp b/src/effects/Sk1DPathEffect.cpp
|
| index 3af9887f9c66045b037a7a0da22807955236ae0b..d630a8ed6ca9658ce9c163e4b81ee0ac8256e87c 100644
|
| --- a/src/effects/Sk1DPathEffect.cpp
|
| +++ b/src/effects/Sk1DPathEffect.cpp
|
| @@ -160,7 +160,7 @@ SkFlattenable* SkPath1DPathEffect::CreateProc(SkReadBuffer& buffer) {
|
| Style style = (Style)buffer.readUInt();
|
| return SkPath1DPathEffect::Create(path, advance, phase, style);
|
| }
|
| - return NULL;
|
| + return nullptr;
|
| }
|
|
|
| void SkPath1DPathEffect::flatten(SkWriteBuffer& buffer) const {
|
| @@ -177,7 +177,7 @@ SkScalar SkPath1DPathEffect::next(SkPath* dst, SkScalar distance,
|
| switch (fStyle) {
|
| case kTranslate_Style: {
|
| SkPoint pos;
|
| - if (meas.getPosTan(distance, &pos, NULL)) {
|
| + if (meas.getPosTan(distance, &pos, nullptr)) {
|
| dst->addPath(fPath, pos.fX, pos.fY);
|
| }
|
| } break;
|
|
|