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

Unified Diff: Source/platform/fonts/harfbuzz/FontPlatformDataHarfBuzz.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/android/FontCacheAndroid.cpp ('k') | Source/platform/fonts/harfbuzz/HarfBuzzFace.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/fonts/harfbuzz/FontPlatformDataHarfBuzz.cpp
diff --git a/Source/platform/fonts/harfbuzz/FontPlatformDataHarfBuzz.cpp b/Source/platform/fonts/harfbuzz/FontPlatformDataHarfBuzz.cpp
index c8f143086d2ff9fb731709f9c7f1fbba514aeca9..5044875f6c66488a8c788ff1c5ef38ba0def9cea 100644
--- a/Source/platform/fonts/harfbuzz/FontPlatformDataHarfBuzz.cpp
+++ b/Source/platform/fonts/harfbuzz/FontPlatformDataHarfBuzz.cpp
@@ -116,7 +116,7 @@ FontPlatformData::FontPlatformData(const FontPlatformData& src)
, m_syntheticItalic(src.m_syntheticItalic)
, m_orientation(src.m_orientation)
, m_style(src.m_style)
- , m_harfBuzzFace(0)
+ , m_harfBuzzFace(nullptr)
, m_isHashTableDeletedValue(false)
{
}
@@ -142,7 +142,7 @@ FontPlatformData::FontPlatformData(const FontPlatformData& src, float textSize)
, m_syntheticBold(src.m_syntheticBold)
, m_syntheticItalic(src.m_syntheticItalic)
, m_orientation(src.m_orientation)
- , m_harfBuzzFace(0)
+ , m_harfBuzzFace(nullptr)
, m_isHashTableDeletedValue(false)
{
querySystemForRenderStyle(FontDescription::subpixelPositioning());
@@ -168,7 +168,7 @@ FontPlatformData& FontPlatformData::operator=(const FontPlatformData& src)
m_textSize = src.m_textSize;
m_syntheticBold = src.m_syntheticBold;
m_syntheticItalic = src.m_syntheticItalic;
- m_harfBuzzFace = 0;
+ m_harfBuzzFace = nullptr;
m_orientation = src.m_orientation;
m_style = src.m_style;
m_emSizeInFontUnits = src.m_emSizeInFontUnits;
« no previous file with comments | « Source/platform/fonts/android/FontCacheAndroid.cpp ('k') | Source/platform/fonts/harfbuzz/HarfBuzzFace.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698