aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/ports/SkFontConfigInterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ports/SkFontConfigInterface.h')
-rw-r--r--include/ports/SkFontConfigInterface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ports/SkFontConfigInterface.h b/include/ports/SkFontConfigInterface.h
index 3e279d45b8..c6b7b78628 100644
--- a/include/ports/SkFontConfigInterface.h
+++ b/include/ports/SkFontConfigInterface.h
@@ -62,7 +62,7 @@ public:
// If buffer is NULL, just return the number of bytes that would have
// been written. Will pad contents to a multiple of 4.
- size_t writeToMemory(void* buffer = NULL) const;
+ size_t writeToMemory(void* buffer = nullptr) const;
// Recreate from a flattened buffer, returning the number of bytes read.
size_t readFromMemory(const void* buffer, size_t length);