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

Unified Diff: fpdfsdk/src/pdfwindow/PWL_Utils.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_Utils.cpp
diff --git a/fpdfsdk/src/pdfwindow/PWL_Utils.cpp b/fpdfsdk/src/pdfwindow/PWL_Utils.cpp
index fafdf1e7cfba5b2290f4b350bfd6bb794fbbacc9..ebaa8010668016234c4dda22e8781b5848f829af 100644
--- a/fpdfsdk/src/pdfwindow/PWL_Utils.cpp
+++ b/fpdfsdk/src/pdfwindow/PWL_Utils.cpp
@@ -528,9 +528,6 @@ CFX_ByteString CPWL_Utils::GetSpellCheckAppStream(
IPWL_SpellCheck* pSpellCheck,
const CPDF_Point& ptOffset,
const CPVT_WordRange* pRange) {
- ASSERT(pEdit != NULL);
- ASSERT(pSpellCheck != NULL);
-
CFX_ByteTextBuf sRet;
if (pRange && pRange->IsExist()) {

Powered by Google App Engine
This is Rietveld 408576698