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

Unified Diff: xfa/fxfa/include/xfa_ffwidgethandler.h

Issue 2031873003: Get rid of NULLs in xfa/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium@nullptr_fpdfsdk
Patch Set: 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
« no previous file with comments | « xfa/fxfa/include/xfa_ffwidget.h ('k') | xfa/fxfa/include/xfa_rendercontext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fxfa/include/xfa_ffwidgethandler.h
diff --git a/xfa/fxfa/include/xfa_ffwidgethandler.h b/xfa/fxfa/include/xfa_ffwidgethandler.h
index 8159d87cf093e42f54803690600de1ce0594dae9..fd487d1cb7144f8095f1a7c386a7bc1b86b31a89 100644
--- a/xfa/fxfa/include/xfa_ffwidgethandler.h
+++ b/xfa/fxfa/include/xfa_ffwidgethandler.h
@@ -22,7 +22,7 @@ class CXFA_FFWidgetHandler {
CXFA_FFWidget* CreateWidget(CXFA_FFWidget* hParent,
XFA_WIDGETTYPE eType,
- CXFA_FFWidget* hBefore = NULL);
+ CXFA_FFWidget* hBefore = nullptr);
FX_BOOL OnMouseEnter(CXFA_FFWidget* hWidget);
FX_BOOL OnMouseExit(CXFA_FFWidget* hWidget);
@@ -69,7 +69,7 @@ class CXFA_FFWidgetHandler {
FX_BOOL OnSetCursor(CXFA_FFWidget* hWidget, FX_FLOAT fx, FX_FLOAT fy);
void RenderWidget(CXFA_FFWidget* hWidget,
CFX_Graphics* pGS,
- CFX_Matrix* pMatrix = NULL,
+ CFX_Matrix* pMatrix = nullptr,
FX_BOOL bHighlight = FALSE);
FX_BOOL HasEvent(CXFA_WidgetAcc* pWidgetAcc, XFA_EVENTTYPE eEventType);
int32_t ProcessEvent(CXFA_WidgetAcc* pWidgetAcc, CXFA_EventParam* pParam);
@@ -110,7 +110,7 @@ class CXFA_FFWidgetHandler {
CXFA_Node* pBefore) const;
CXFA_Node* CreateCopyNode(XFA_ELEMENT eElement,
CXFA_Node* pParent,
- CXFA_Node* pBefore = NULL) const;
+ CXFA_Node* pBefore = nullptr) const;
CXFA_Node* CreateTemplateNode(XFA_ELEMENT eElement,
CXFA_Node* pParent,
CXFA_Node* pBefore) const;
« no previous file with comments | « xfa/fxfa/include/xfa_ffwidget.h ('k') | xfa/fxfa/include/xfa_rendercontext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698