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

Unified Diff: Source/core/html/HTMLTableCellElement.cpp

Issue 656723005: Use C++11 features in core/html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: mike's comments Created 6 years, 1 month 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/html/HTMLSummaryElement.cpp ('k') | Source/core/html/HTMLTableColElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLTableCellElement.cpp
diff --git a/Source/core/html/HTMLTableCellElement.cpp b/Source/core/html/HTMLTableCellElement.cpp
index 4efa0e9d7de51dbc54c142f1c68b782bc2ffbceb..b7cb97d10fbdd9b8e867246941a1c00fe2c15f7a 100644
--- a/Source/core/html/HTMLTableCellElement.cpp
+++ b/Source/core/html/HTMLTableCellElement.cpp
@@ -121,7 +121,7 @@ const StylePropertySet* HTMLTableCellElement::additionalPresentationAttributeSty
{
if (HTMLTableElement* table = findParentTable())
return table->additionalCellStyle();
- return 0;
+ return nullptr;
}
bool HTMLTableCellElement::isURLAttribute(const Attribute& attribute) const
@@ -173,14 +173,14 @@ HTMLTableCellElement* HTMLTableCellElement::cellAbove() const
{
RenderObject* cellRenderer = renderer();
if (!cellRenderer)
- return 0;
+ return nullptr;
if (!cellRenderer->isTableCell())
- return 0;
+ return nullptr;
RenderTableCell* tableCellRenderer = toRenderTableCell(cellRenderer);
RenderTableCell* cellAboveRenderer = tableCellRenderer->table()->cellAbove(tableCellRenderer);
if (!cellAboveRenderer)
- return 0;
+ return nullptr;
return toHTMLTableCellElement(cellAboveRenderer->node());
}
« no previous file with comments | « Source/core/html/HTMLSummaryElement.cpp ('k') | Source/core/html/HTMLTableColElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698