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

Unified Diff: core/fpdfapi/fpdf_font/ttgsubtable.cpp

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/fpdfapi/fpdf_font/ttgsubtable.cpp
diff --git a/core/fpdfapi/fpdf_font/ttgsubtable.cpp b/core/fpdfapi/fpdf_font/ttgsubtable.cpp
index f6d6400f471ed8dc694399cda5e1f8a590a99dd5..5734816a8767473749a57008022190f8babb2280 100644
--- a/core/fpdfapi/fpdf_font/ttgsubtable.cpp
+++ b/core/fpdfapi/fpdf_font/ttgsubtable.cpp
@@ -290,7 +290,7 @@ void CFX_CTTGSUBTable::ParseLookup(FT_Bytes raw, TLookup* rec) {
}
rec->SubTable = new struct TSubTableBase*[rec->SubTableCount];
for (i = 0; i < rec->SubTableCount; i++) {
- rec->SubTable[i] = NULL;
+ rec->SubTable[i] = nullptr;
}
if (rec->LookupType != 1) {
return;

Powered by Google App Engine
This is Rietveld 408576698