aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/SkShaper_harfbuzz.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/SkShaper_harfbuzz.cpp')
-rw-r--r--tools/SkShaper_harfbuzz.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/SkShaper_harfbuzz.cpp b/tools/SkShaper_harfbuzz.cpp
index 9c7d69e92d..34fc712829 100644
--- a/tools/SkShaper_harfbuzz.cpp
+++ b/tools/SkShaper_harfbuzz.cpp
@@ -101,9 +101,9 @@ SkScalar SkShaper::shape(SkTextBlobBuilder* builder,
return 0;
}
- hb_glyph_info_t* info = hb_buffer_get_glyph_infos(buffer, NULL);
+ hb_glyph_info_t* info = hb_buffer_get_glyph_infos(buffer, nullptr);
hb_glyph_position_t* pos =
- hb_buffer_get_glyph_positions(buffer, NULL);
+ hb_buffer_get_glyph_positions(buffer, nullptr);
auto runBuffer = builder->allocRunTextPos(
paint, SkToInt(len), SkToInt(textBytes), SkString());
memcpy(runBuffer.utf8text, utf8text, textBytes);