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

Unified Diff: Source/core/layout/LayoutState.cpp

Issue 1162383003: C++11: Replace 0 with nullptr where applicable in layout code. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add one more file. Created 5 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 | « Source/core/layout/LayoutScrollbarPart.cpp ('k') | Source/core/layout/LayoutTable.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutState.cpp
diff --git a/Source/core/layout/LayoutState.cpp b/Source/core/layout/LayoutState.cpp
index d8aa30b1df0f7bbdd9ece0d1ca8ef0a0df2ac380..5153450f89b747940eb192e674be0151f18830ff 100644
--- a/Source/core/layout/LayoutState.cpp
+++ b/Source/core/layout/LayoutState.cpp
@@ -36,8 +36,8 @@ LayoutState::LayoutState(LayoutUnit pageLogicalHeight, bool pageLogicalHeightCha
: m_isPaginated(pageLogicalHeight)
, m_pageLogicalHeightChanged(pageLogicalHeightChanged)
, m_containingBlockLogicalWidthChanged(false)
- , m_flowThread(0)
- , m_next(0)
+ , m_flowThread(nullptr)
+ , m_next(nullptr)
, m_pageLogicalHeight(pageLogicalHeight)
, m_layoutObject(view)
{
@@ -109,7 +109,7 @@ LayoutState::LayoutState(LayoutObject& root)
: m_isPaginated(false)
, m_pageLogicalHeightChanged(false)
, m_containingBlockLogicalWidthChanged(false)
- , m_flowThread(0)
+ , m_flowThread(nullptr)
, m_next(root.view()->layoutState())
, m_pageLogicalHeight(0)
, m_layoutObject(root)
« no previous file with comments | « Source/core/layout/LayoutScrollbarPart.cpp ('k') | Source/core/layout/LayoutTable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698