Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1646)

Unified Diff: Source/platform/fonts/harfbuzz/HarfBuzzFace.cpp

Issue 170603003: Use nullptr_t for RefPtr, PassRefPtr and RawPtr. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final rebase Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/platform/fonts/harfbuzz/HarfBuzzFace.cpp
diff --git a/Source/platform/fonts/harfbuzz/HarfBuzzFace.cpp b/Source/platform/fonts/harfbuzz/HarfBuzzFace.cpp
index 9c3171b6b935bc856b0551a4446f1c291cdf3662..306ea2c5056ff488d52af22f18a8c3aae596ad06 100644
--- a/Source/platform/fonts/harfbuzz/HarfBuzzFace.cpp
+++ b/Source/platform/fonts/harfbuzz/HarfBuzzFace.cpp
@@ -82,7 +82,7 @@ HarfBuzzFace::HarfBuzzFace(FontPlatformData* platformData, uint64_t uniqueID)
, m_uniqueID(uniqueID)
, m_scriptForVerticalText(HB_SCRIPT_INVALID)
{
- HarfBuzzFaceCache::AddResult result = harfBuzzFaceCache()->add(m_uniqueID, 0);
+ HarfBuzzFaceCache::AddResult result = harfBuzzFaceCache()->add(m_uniqueID, nullptr);
if (result.isNewEntry)
result.storedValue->value = FaceCacheEntry::create(createFace());
result.storedValue->value->ref();
« no previous file with comments | « Source/platform/fonts/harfbuzz/FontPlatformDataHarfBuzz.cpp ('k') | Source/platform/fonts/mac/FontCacheMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698