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

Unified Diff: xfa/fxfa/parser/xfa_layout_appadapter.h

Issue 2095653002: Remove NULL in xfa/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 6 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: xfa/fxfa/parser/xfa_layout_appadapter.h
diff --git a/xfa/fxfa/parser/xfa_layout_appadapter.h b/xfa/fxfa/parser/xfa_layout_appadapter.h
index 685bc4482ae39793e2efeac4291152581650da49..498c023fb8c68b90a44dd37baf1f74bee2c5c27f 100644
--- a/xfa/fxfa/parser/xfa_layout_appadapter.h
+++ b/xfa/fxfa/parser/xfa_layout_appadapter.h
@@ -16,7 +16,7 @@ class CXFA_TraverseStrategy_PageAreaContainerLayoutItem {
if (pLayoutItem->m_pFormNode->GetElementType() == XFA_Element::PageSet) {
return static_cast<CXFA_ContainerLayoutItem*>(pLayoutItem->m_pFirstChild);
}
- return NULL;
+ return nullptr;
}
static inline CXFA_ContainerLayoutItem* GetNextSibling(
CXFA_ContainerLayoutItem* pLayoutItem) {

Powered by Google App Engine
This is Rietveld 408576698