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

Unified Diff: bench/BlurRectBench.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 | « bench/BlurImageFilterBench.cpp ('k') | bench/ChartBench.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/BlurRectBench.cpp
diff --git a/bench/BlurRectBench.cpp b/bench/BlurRectBench.cpp
index 8f8a2de25b33406d238ce0103a44a6b9e13875db..890a79e673fbec5c4b2a70fa7238b4fd5b2dd1f7 100644
--- a/bench/BlurRectBench.cpp
+++ b/bench/BlurRectBench.cpp
@@ -102,7 +102,7 @@ class BlurRectSeparableBench: public BlurRectBench {
public:
BlurRectSeparableBench(SkScalar rad) : INHERITED(rad) {
- fSrcMask.fImage = NULL;
+ fSrcMask.fImage = nullptr;
}
~BlurRectSeparableBench() {
@@ -144,7 +144,7 @@ protected:
void makeBlurryRect(const SkRect&) override {
SkMask mask;
- mask.fImage = NULL;
+ mask.fImage = nullptr;
SkBlurMask::BoxBlur(&mask, fSrcMask, SkBlurMask::ConvertRadiusToSigma(this->radius()),
kNormal_SkBlurStyle, kHigh_SkBlurQuality);
SkMask::FreeImage(mask.fImage);
@@ -171,7 +171,7 @@ protected:
void makeBlurryRect(const SkRect&) override {
SkMask mask;
- mask.fImage = NULL;
+ mask.fImage = nullptr;
SkBlurMask::BlurGroundTruth(SkBlurMask::ConvertRadiusToSigma(this->radius()),
&mask, fSrcMask, kNormal_SkBlurStyle);
SkMask::FreeImage(mask.fImage);
« no previous file with comments | « bench/BlurImageFilterBench.cpp ('k') | bench/ChartBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698