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

Unified Diff: samplecode/SampleQuadStroker.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 | « samplecode/SamplePicture.cpp ('k') | samplecode/SampleRectanizer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samplecode/SampleQuadStroker.cpp
diff --git a/samplecode/SampleQuadStroker.cpp b/samplecode/SampleQuadStroker.cpp
index 91a6a0f5d8327a40893c13f20ec24c6b8438bf10..3b029804adc5bc8c9665131307e195fd1f99a790 100644
--- a/samplecode/SampleQuadStroker.cpp
+++ b/samplecode/SampleQuadStroker.cpp
@@ -196,7 +196,7 @@ protected:
default:
fText.appendUnichar(uni);
}
- this->inval(NULL);
+ this->inval(nullptr);
return true;
}
return this->INHERITED::onQuery(evt);
@@ -226,7 +226,7 @@ protected:
SkCanvas* canvas = fMaxSurface->getCanvas();
canvas->save();
canvas->concat(fMatrix);
- fMinSurface->draw(canvas, 0, 0, NULL);
+ fMinSurface->draw(canvas, 0, 0, nullptr);
canvas->restore();
SkPaint paint;
@@ -320,7 +320,7 @@ protected:
if (drawText) {
fMinSurface->getCanvas()->drawPath(path, paint);
this->copyMinToMax();
- fMaxSurface->draw(canvas, 0, 0, NULL);
+ fMaxSurface->draw(canvas, 0, 0, nullptr);
}
paint.setAntiAlias(true);
paint.setStyle(SkPaint::kStroke_Style);
@@ -541,7 +541,7 @@ protected:
draw_button(canvas, fRRectButton);
draw_button(canvas, fCircleButton);
draw_button(canvas, fTextButton);
- this->inval(NULL);
+ this->inval(nullptr);
}
class MyClick : public Click {
@@ -608,7 +608,7 @@ protected:
if (index < (int) SK_ARRAY_COUNT(fPts)) {
fPts[index].offset(SkIntToScalar(click->fICurr.fX - click->fIPrev.fX),
SkIntToScalar(click->fICurr.fY - click->fIPrev.fY));
- this->inval(NULL);
+ this->inval(nullptr);
} else if (index == (int) SK_ARRAY_COUNT(fPts) + 1) {
fWeight = MapScreenYtoValue(click->fICurr.fY, fWeightControl, 0, 5);
}
« no previous file with comments | « samplecode/SamplePicture.cpp ('k') | samplecode/SampleRectanizer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698