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

Unified Diff: Source/platform/fonts/FontDataCache.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
« no previous file with comments | « Source/platform/fonts/FontCache.cpp ('k') | Source/platform/fonts/FontDescription.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/fonts/FontDataCache.cpp
diff --git a/Source/platform/fonts/FontDataCache.cpp b/Source/platform/fonts/FontDataCache.cpp
index 0f5efe3d45eaa95a0126e976a6cb51738761619d..5a1e933d380decb50591373a3fe53cbfe99ce85f 100644
--- a/Source/platform/fonts/FontDataCache.cpp
+++ b/Source/platform/fonts/FontDataCache.cpp
@@ -48,7 +48,7 @@ const unsigned cTargetInactiveFontData = 200;
PassRefPtr<SimpleFontData> FontDataCache::get(const FontPlatformData* platformData, ShouldRetain shouldRetain)
{
if (!platformData)
- return 0;
+ return nullptr;
Cache::iterator result = m_cache.find(*platformData);
if (result == m_cache.end()) {
« no previous file with comments | « Source/platform/fonts/FontCache.cpp ('k') | Source/platform/fonts/FontDescription.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698