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

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

Issue 1115353002: Update renderer to layoutObject in core/html. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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/html/HTMLSelectElement.cpp ('k') | Source/core/html/HTMLTextFormControlElement.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 c3e104c52b93dc1623e15e5136da56b5ea47bae8..875b6d5b4b681b392fc120510790891c25b7c15e 100644
--- a/Source/core/html/HTMLTableCellElement.cpp
+++ b/Source/core/html/HTMLTableCellElement.cpp
@@ -178,18 +178,18 @@ const AtomicString& HTMLTableCellElement::scope() const
HTMLTableCellElement* HTMLTableCellElement::cellAbove() const
{
- LayoutObject* cellRenderer = layoutObject();
- if (!cellRenderer)
+ LayoutObject* cellLayoutObject = layoutObject();
+ if (!cellLayoutObject)
return nullptr;
- if (!cellRenderer->isTableCell())
+ if (!cellLayoutObject->isTableCell())
return nullptr;
- LayoutTableCell* tableCellRenderer = toLayoutTableCell(cellRenderer);
- LayoutTableCell* cellAboveRenderer = tableCellRenderer->table()->cellAbove(tableCellRenderer);
- if (!cellAboveRenderer)
+ LayoutTableCell* tableCellLayoutObject = toLayoutTableCell(cellLayoutObject);
+ LayoutTableCell* cellAboveLayoutObject = tableCellLayoutObject->table()->cellAbove(tableCellLayoutObject);
+ if (!cellAboveLayoutObject)
return nullptr;
- return toHTMLTableCellElement(cellAboveRenderer->node());
+ return toHTMLTableCellElement(cellAboveLayoutObject->node());
}
} // namespace blink
« no previous file with comments | « Source/core/html/HTMLSelectElement.cpp ('k') | Source/core/html/HTMLTextFormControlElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698