Index: gm/drawfilter.cpp |
diff --git a/gm/drawfilter.cpp b/gm/drawfilter.cpp |
index 8c29f07b0268e8a2d34f6f9c34f097e952ca1806..b0a21e9a117b5dd0c3921de87295a247097cc5d2 100644 |
--- a/gm/drawfilter.cpp |
+++ b/gm/drawfilter.cpp |
@@ -24,7 +24,7 @@ class TestFilter : public SkDrawFilter { |
public: |
bool filter(SkPaint* p, Type) override { |
p->setColor(SK_ColorRED); |
- p->setMaskFilter(NULL); |
+ p->setMaskFilter(nullptr); |
return true; |
} |
}; |
@@ -53,7 +53,7 @@ protected: |
p.setColor(SK_ColorBLUE); |
p.setMaskFilter(fBlur.get()); |
SkRect r = { 20, 20, 100, 100 }; |
- canvas->setDrawFilter(NULL); |
+ canvas->setDrawFilter(nullptr); |
canvas->drawRect(r, p); |
TestFilter redNoBlur; |
canvas->setDrawFilter(&redNoBlur); |
@@ -61,7 +61,7 @@ protected: |
canvas->drawRect(r, p); |
// Must unset if the DrawFilter is from the stack to avoid refcount errors! |
- canvas->setDrawFilter(NULL); |
+ canvas->setDrawFilter(nullptr); |
} |
private: |