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

Unified Diff: xfa/fwl/lightwidget/cfwl_picturebox.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/fwl/lightwidget/cfwl_listbox.cpp ('k') | xfa/fwl/lightwidget/cfwl_pushbutton.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fwl/lightwidget/cfwl_picturebox.h
diff --git a/xfa/fwl/lightwidget/cfwl_picturebox.h b/xfa/fwl/lightwidget/cfwl_picturebox.h
index 8b0b13de24cc52780dec3b748919a3183d36f4e5..f8f07820f5af43bb9b1e610d977accb884d96977 100644
--- a/xfa/fwl/lightwidget/cfwl_picturebox.h
+++ b/xfa/fwl/lightwidget/cfwl_picturebox.h
@@ -14,7 +14,7 @@
class CFWL_PictureBox : public CFWL_Widget {
public:
static CFWL_PictureBox* Create();
- FWL_Error Initialize(const CFWL_WidgetProperties* pProperties = NULL);
+ FWL_Error Initialize(const CFWL_WidgetProperties* pProperties = nullptr);
CFX_DIBitmap* GetPicture();
FWL_Error SetPicture(CFX_DIBitmap* pBitmap);
FX_FLOAT GetRotation();
@@ -39,7 +39,7 @@ class CFWL_PictureBox : public CFWL_Widget {
m_fScaleY = 1.0f;
m_fOffSetX = 0.0f;
m_fOffSetY = 0.0f;
- m_pBitmap = NULL;
+ m_pBitmap = nullptr;
}
virtual FWL_Error GetCaption(IFWL_Widget* pWidget,
CFX_WideString& wsCaption);
« no previous file with comments | « xfa/fwl/lightwidget/cfwl_listbox.cpp ('k') | xfa/fwl/lightwidget/cfwl_pushbutton.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698