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

Unified Diff: fpdfsdk/src/pdfwindow/PWL_EditCtrl.cpp

Issue 1512763013: Get rid of most instance of 'foo != NULL' (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: rebase Created 5 years 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
Index: fpdfsdk/src/pdfwindow/PWL_EditCtrl.cpp
diff --git a/fpdfsdk/src/pdfwindow/PWL_EditCtrl.cpp b/fpdfsdk/src/pdfwindow/PWL_EditCtrl.cpp
index 0794be653c1fb680e3012e81fbdfddca1b5dfb5a..1dacc9322beb123db5f97f472e14bd00ce64649d 100644
--- a/fpdfsdk/src/pdfwindow/PWL_EditCtrl.cpp
+++ b/fpdfsdk/src/pdfwindow/PWL_EditCtrl.cpp
@@ -27,7 +27,7 @@ CPWL_EditCtrl::CPWL_EditCtrl()
m_nCharSet(DEFAULT_CHARSET),
m_nCodePage(0) {
m_pEdit = IFX_Edit::NewEdit();
- ASSERT(m_pEdit != NULL);
+ ASSERT(m_pEdit);
}
CPWL_EditCtrl::~CPWL_EditCtrl() {

Powered by Google App Engine
This is Rietveld 408576698