summaryrefslogtreecommitdiff
path: root/fpdfsdk/fsdk_rendercontext.cpp
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2016-06-07 17:53:06 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-07 17:53:06 -0700
commit1cd352e0a4bc19f96df199b0acfa32a344240d5e (patch)
treebe24d7a4bd135c2ab5568148ab318b7bf648edda /fpdfsdk/fsdk_rendercontext.cpp
parenta4fdfc5ed0e8d2e6acc52cc34eac42c6072f0ccc (diff)
downloadpdfium-1cd352e0a4bc19f96df199b0acfa32a344240d5e.tar.xz
Get rid of NULLs in fpdfsdk/
Review-Url: https://codereview.chromium.org/2031653003
Diffstat (limited to 'fpdfsdk/fsdk_rendercontext.cpp')
-rw-r--r--fpdfsdk/fsdk_rendercontext.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/fpdfsdk/fsdk_rendercontext.cpp b/fpdfsdk/fsdk_rendercontext.cpp
index 3ba60778a7..0888d6ba4a 100644
--- a/fpdfsdk/fsdk_rendercontext.cpp
+++ b/fpdfsdk/fsdk_rendercontext.cpp
@@ -10,11 +10,11 @@
#include "core/fxge/include/fx_ge.h"
void CRenderContext::Clear() {
- m_pDevice = NULL;
- m_pContext = NULL;
- m_pRenderer = NULL;
- m_pAnnots = NULL;
- m_pOptions = NULL;
+ m_pDevice = nullptr;
+ m_pContext = nullptr;
+ m_pRenderer = nullptr;
+ m_pAnnots = nullptr;
+ m_pOptions = nullptr;
}
CRenderContext::~CRenderContext() {