Index: Source/platform/fonts/skia/FontCacheSkia.cpp |
diff --git a/Source/platform/fonts/skia/FontCacheSkia.cpp b/Source/platform/fonts/skia/FontCacheSkia.cpp |
index 9b9f9503c346263b1601d12163b24b1fbedb5c54..f8d4b1a40f401842f820b442169c495b73007516 100644 |
--- a/Source/platform/fonts/skia/FontCacheSkia.cpp |
+++ b/Source/platform/fonts/skia/FontCacheSkia.cpp |
@@ -55,7 +55,7 @@ PassRefPtr<SimpleFontData> FontCache::platformFallbackForCharacter(const FontDes |
FontCache::SimpleFontFamily family; |
FontCache::getFontFamilyForCharacter(c, locale.getLanguage(), &family); |
if (family.name.isEmpty()) |
- return 0; |
+ return nullptr; |
AtomicString atomicFamily(family.name); |
// Changes weight and/or italic of given FontDescription depends on |
@@ -79,7 +79,7 @@ PassRefPtr<SimpleFontData> FontCache::platformFallbackForCharacter(const FontDes |
FontPlatformData* substitutePlatformData = getFontPlatformData(description, atomicFamily); |
if (!substitutePlatformData) |
- return 0; |
+ return nullptr; |
FontPlatformData platformData = FontPlatformData(*substitutePlatformData); |
platformData.setSyntheticBold(shouldSetSyntheticBold); |
platformData.setSyntheticItalic(shouldSetSyntheticItalic); |