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

Unified Diff: samplecode/ClockFaceView.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 | « platform_tools/android/apps/visualbench/src/main/jni/main.cpp ('k') | samplecode/OverView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samplecode/ClockFaceView.cpp
diff --git a/samplecode/ClockFaceView.cpp b/samplecode/ClockFaceView.cpp
index 9a1f8f97fbb80d586bb25d50591b110aeb193d23..8362c35cb6630baf439d2edaa7c1da8a9af01158 100644
--- a/samplecode/ClockFaceView.cpp
+++ b/samplecode/ClockFaceView.cpp
@@ -104,7 +104,7 @@ private:
SkFlattenable* Dot2DPathEffect::CreateProc(SkReadBuffer& buffer) {
SkMatrix matrix;
buffer.readMatrix(&matrix);
- return new Dot2DPathEffect(buffer.readScalar(), matrix, NULL);
+ return new Dot2DPathEffect(buffer.readScalar(), matrix, nullptr);
}
class InverseFillPE : public SkPathEffect {
@@ -140,7 +140,7 @@ static SkPathEffect* makepe(float interp, SkTDArray<SkPoint>* pts) {
}
static void r7(SkLayerRasterizer::Builder* rastBuilder, SkPaint& p, SkScalar interp) {
- p.setPathEffect(makepe(SkScalarToFloat(interp), NULL))->unref();
+ p.setPathEffect(makepe(SkScalarToFloat(interp), nullptr))->unref();
rastBuilder->addLayer(p);
#if 0
p.setPathEffect(new InverseFillPE())->unref();
@@ -205,7 +205,7 @@ protected:
SkStrokeRec rec(SkStrokeRec::kFill_InitStyle);
SkPath path, dstPath;
orig.getTextPath("9", 1, 0, 0, &path);
- pe->filterPath(&dstPath, path, &rec, NULL);
+ pe->filterPath(&dstPath, path, &rec, nullptr);
SkPaint p;
p.setAntiAlias(true);
@@ -245,7 +245,7 @@ protected:
fInterp = 0;
fDx = -fDx;
}
- this->inval(NULL);
+ this->inval(nullptr);
}
}
« no previous file with comments | « platform_tools/android/apps/visualbench/src/main/jni/main.cpp ('k') | samplecode/OverView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698