Style Change: NULL->nullptr
DOCS_PREVIEW= https://skia.org/?cl=1316233002
Review URL: https://codereview.chromium.org/1316233002
diff --git a/samplecode/SampleDraw.cpp b/samplecode/SampleDraw.cpp
index 616650f..5e239c6 100644
--- a/samplecode/SampleDraw.cpp
+++ b/samplecode/SampleDraw.cpp
@@ -22,7 +22,7 @@
c.clipRect(rect);
- c.saveLayer(NULL, NULL);
+ c.saveLayer(nullptr, nullptr);
rect = SkRect::MakeXYWH(50, 10, 40, 80);
c.clipRect(rect, SkRegion::kUnion_Op);
@@ -262,7 +262,7 @@
SkTDArray<Draw*> fList;
public:
- DrawView() : fDraw(NULL) {
+ DrawView() : fDraw(nullptr) {
fFactory = new RectFactory;
}
@@ -289,7 +289,7 @@
return *iter;
}
}
- return NULL;
+ return nullptr;
}
protected:
@@ -344,7 +344,7 @@
} else {
fDraw->unref();
}
- fDraw = NULL;
+ fDraw = nullptr;
}
return true;
}
@@ -365,7 +365,7 @@
}
}
}
- this->inval(NULL);
+ this->inval(nullptr);
return true;
}