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

Unified Diff: Source/core/layout/LayoutTableCol.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/LayoutTableCol.h ('k') | Source/core/layout/LayoutTableRow.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutTableCol.cpp
diff --git a/Source/core/layout/LayoutTableCol.cpp b/Source/core/layout/LayoutTableCol.cpp
index 73cf46dd452d94d3a96f7b9e5add71f4f5957fa1..efb55a11e40a7e413b5a4dc0fe2a1285d578431b 100644
--- a/Source/core/layout/LayoutTableCol.cpp
+++ b/Source/core/layout/LayoutTableCol.cpp
@@ -141,13 +141,13 @@ LayoutTable* LayoutTableCol::table() const
LayoutObject* table = parent();
if (table && !table->isTable())
table = table->parent();
- return table && table->isTable() ? toLayoutTable(table) : 0;
+ return table && table->isTable() ? toLayoutTable(table) : nullptr;
}
LayoutTableCol* LayoutTableCol::enclosingColumnGroup() const
{
if (!parent()->isLayoutTableCol())
- return 0;
+ return nullptr;
LayoutTableCol* parentColumnGroup = toLayoutTableCol(parent());
ASSERT(parentColumnGroup->isTableColumnGroup());
« no previous file with comments | « Source/core/layout/LayoutTableCol.h ('k') | Source/core/layout/LayoutTableRow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698