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

Unified Diff: src/effects/Sk1DPathEffect.cpp

Issue 1316233002: Style Change: NULL->nullptr (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-08-27 (Thursday) 10:25:06 EDT Created 5 years, 4 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 | « src/doc/SkDocument_XPS_None.cpp ('k') | src/effects/SkAlphaThresholdFilter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « src/doc/SkDocument_XPS_None.cpp ('k') | src/effects/SkAlphaThresholdFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698