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

Unified Diff: Source/core/layout/line/LineInfo.h

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/line/LineBoxList.cpp ('k') | Source/core/layout/line/LineLayoutState.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/line/LineInfo.h
diff --git a/Source/core/layout/line/LineInfo.h b/Source/core/layout/line/LineInfo.h
index 42055a548b6ee4c74854f955f9b5db4e04910f14..f30f34ef5eb20487ff7482bba82a539efa6d9880 100644
--- a/Source/core/layout/line/LineInfo.h
+++ b/Source/core/layout/line/LineInfo.h
@@ -51,7 +51,7 @@ public:
void setFirstLine(bool firstLine) { m_isFirstLine = firstLine; }
void setLastLine(bool lastLine) { m_isLastLine = lastLine; }
- void setEmpty(bool empty, LayoutBlock* block = 0, LineWidth* lineWidth = 0)
+ void setEmpty(bool empty, LayoutBlock* block = nullptr, LineWidth* lineWidth = nullptr)
{
if (m_isEmpty == empty)
return;
« no previous file with comments | « Source/core/layout/line/LineBoxList.cpp ('k') | Source/core/layout/line/LineLayoutState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698