diff options
author | thestig <thestig@chromium.org> | 2016-06-07 10:46:22 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-07 10:46:23 -0700 |
commit | 4997b22f84307521a62838f874928bf56cd3423c (patch) | |
tree | ad11d99ac0a491ee222e9d0a42ec3b6ad3354e2a /core/fxge/apple/fx_mac_imp.cpp | |
parent | 0687e76dc259c678b3f29a6608331f07ffd8f1e2 (diff) | |
download | pdfium-4997b22f84307521a62838f874928bf56cd3423c.tar.xz |
Get rid of NULLs in core/
Review-Url: https://codereview.chromium.org/2032613003
Diffstat (limited to 'core/fxge/apple/fx_mac_imp.cpp')
-rw-r--r-- | core/fxge/apple/fx_mac_imp.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/fxge/apple/fx_mac_imp.cpp b/core/fxge/apple/fx_mac_imp.cpp index 16dd4aef66..a0f2acb370 100644 --- a/core/fxge/apple/fx_mac_imp.cpp +++ b/core/fxge/apple/fx_mac_imp.cpp @@ -74,7 +74,7 @@ void* CFX_MacFontInfo::MapFont(int weight, return GetFont("Courier New"); } if (charset == FXFONT_ANSI_CHARSET || charset == FXFONT_SYMBOL_CHARSET) { - return NULL; + return nullptr; } switch (charset) { case FXFONT_SHIFTJIS_CHARSET: @@ -93,7 +93,7 @@ void* CFX_MacFontInfo::MapFont(int weight, if (it != m_FontList.end()) return it->second; - return NULL; + return nullptr; } std::unique_ptr<IFX_SystemFontInfo> IFX_SystemFontInfo::CreateDefault( @@ -111,6 +111,6 @@ void CFX_GEModule::InitPlatform() { } void CFX_GEModule::DestroyPlatform() { delete (CApplePlatform*)m_pPlatformData; - m_pPlatformData = NULL; + m_pPlatformData = nullptr; } #endif |