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

Unified Diff: Source/core/layout/LayoutTableCell.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/LayoutTableCell.h ('k') | Source/core/layout/LayoutTableCol.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutTableCell.cpp
diff --git a/Source/core/layout/LayoutTableCell.cpp b/Source/core/layout/LayoutTableCell.cpp
index a269742c70dd9d20c031bb52a7eed15e1098335d..a4eb1d76baea5ed6ee7c84b40bcde15e670d0d11 100644
--- a/Source/core/layout/LayoutTableCell.cpp
+++ b/Source/core/layout/LayoutTableCell.cpp
@@ -701,7 +701,7 @@ CollapsedBorderValue LayoutTableCell::computeCollapsedBeforeBorder(IncludeBorder
// (4) The previous row's after border.
if (prevCell) {
- LayoutObject* prevRow = 0;
+ LayoutObject* prevRow = nullptr;
if (prevCell->section() == section())
prevRow = parent()->previousSibling();
else
@@ -1028,7 +1028,7 @@ void LayoutTableCell::scrollbarsChanged(bool horizontalScrollbarChanged, bool ve
LayoutTableCell* LayoutTableCell::createAnonymous(Document* document)
{
- LayoutTableCell* layoutObject = new LayoutTableCell(0);
+ LayoutTableCell* layoutObject = new LayoutTableCell(nullptr);
layoutObject->setDocumentForAnonymous(document);
return layoutObject;
}
« no previous file with comments | « Source/core/layout/LayoutTableCell.h ('k') | Source/core/layout/LayoutTableCol.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698