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

Unified Diff: core/fpdfdoc/pdf_vt.h

Issue 2032613003: Get rid of NULLs in core/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: s/NULL/nullptr/ Created 4 years, 7 months 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: core/fpdfdoc/pdf_vt.h
diff --git a/core/fpdfdoc/pdf_vt.h b/core/fpdfdoc/pdf_vt.h
index 9026eeee9edffa182e8928985ef279ace2d4956b..3f06f7d6d676e35183535dfa0bbb55dd8d7440c0 100644
--- a/core/fpdfdoc/pdf_vt.h
+++ b/core/fpdfdoc/pdf_vt.h
@@ -28,7 +28,7 @@ class CPVT_ArrayTemplate : public CFX_ArrayTemplate<TYPE> {
if (nIndex >= 0 && nIndex < CFX_ArrayTemplate<TYPE>::GetSize()) {
return CFX_ArrayTemplate<TYPE>::GetAt(nIndex);
}
- return NULL;
+ return nullptr;
}
void RemoveAt(int nIndex) {
if (nIndex >= 0 && nIndex < CFX_ArrayTemplate<TYPE>::GetSize()) {

Powered by Google App Engine
This is Rietveld 408576698