Style Change: NULL->nullptr
DOCS_PREVIEW= https://skia.org/?cl=1316233002
Review URL: https://codereview.chromium.org/1316233002
diff --git a/tests/FontHostTest.cpp b/tests/FontHostTest.cpp
index db83e06..d9a3df4 100644
--- a/tests/FontHostTest.cpp
+++ b/tests/FontHostTest.cpp
@@ -112,7 +112,7 @@
}
static void test_fontstream(skiatest::Reporter* reporter, SkStream* stream, int ttcIndex) {
- int n = SkFontStream::GetTableTags(stream, ttcIndex, NULL);
+ int n = SkFontStream::GetTableTags(stream, ttcIndex, nullptr);
SkAutoTArray<SkFontTableTag> array(n);
int n2 = SkFontStream::GetTableTags(stream, ttcIndex, array.get());
@@ -214,7 +214,7 @@
static void test_tables(skiatest::Reporter* reporter) {
static const char* const gNames[] = {
- NULL, // default font
+ nullptr, // default font
"Helvetica", "Arial",
"Times", "Times New Roman",
"Courier", "Courier New",
@@ -242,7 +242,7 @@
*/
static void test_advances(skiatest::Reporter* reporter) {
static const char* const faces[] = {
- NULL, // default font
+ nullptr, // default font
"Arial", "Times", "Times New Roman", "Helvetica", "Courier",
"Courier New", "Verdana", "monospace",
};