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/android/fpf_skiafontmgr.h | |
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/android/fpf_skiafontmgr.h')
-rw-r--r-- | core/fxge/android/fpf_skiafontmgr.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/fxge/android/fpf_skiafontmgr.h b/core/fxge/android/fpf_skiafontmgr.h index be3ea460da..ec27a7fb21 100644 --- a/core/fxge/android/fpf_skiafontmgr.h +++ b/core/fxge/android/fpf_skiafontmgr.h @@ -28,7 +28,7 @@ class CFPF_SkiaFont; class CFPF_SkiaFontDescriptor { public: CFPF_SkiaFontDescriptor() - : m_pFamily(NULL), + : m_pFamily(nullptr), m_dwStyle(0), m_iFaceIndex(0), m_dwCharsets(0), @@ -53,7 +53,7 @@ class CFPF_SkiaFontDescriptor { class CFPF_SkiaPathFont : public CFPF_SkiaFontDescriptor { public: - CFPF_SkiaPathFont() : m_pPath(NULL) {} + CFPF_SkiaPathFont() : m_pPath(nullptr) {} ~CFPF_SkiaPathFont() override { FX_Free(m_pPath); } // CFPF_SkiaFontDescriptor @@ -71,7 +71,7 @@ class CFPF_SkiaPathFont : public CFPF_SkiaFontDescriptor { class CFPF_SkiaFileFont : public CFPF_SkiaFontDescriptor { public: - CFPF_SkiaFileFont() : m_pFile(NULL) {} + CFPF_SkiaFileFont() : m_pFile(nullptr) {} // CFPF_SkiaFontDescriptor int32_t GetType() const override { return FPF_SKIAFONTTYPE_File; } @@ -80,7 +80,7 @@ class CFPF_SkiaFileFont : public CFPF_SkiaFontDescriptor { class CFPF_SkiaBufferFont : public CFPF_SkiaFontDescriptor { public: - CFPF_SkiaBufferFont() : m_pBuffer(NULL), m_szBuffer(0) {} + CFPF_SkiaBufferFont() : m_pBuffer(nullptr), m_szBuffer(0) {} // CFPF_SkiaFontDescriptor int32_t GetType() const override { return FPF_SKIAFONTTYPE_Buffer; } |