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

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

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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/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 e35f1e5061602c2ebad1e844dd0dbfc41d8b5af7..c3e104c52b93dc1623e15e5136da56b5ea47bae8 100644
--- a/Source/core/html/HTMLTableCellElement.cpp
+++ b/Source/core/html/HTMLTableCellElement.cpp
@@ -115,11 +115,11 @@ void HTMLTableCellElement::collectStyleForPresentationAttribute(const QualifiedN
void HTMLTableCellElement::parseAttribute(const QualifiedName& name, const AtomicString& value)
{
if (name == rowspanAttr) {
- if (renderer() && renderer()->isTableCell())
- toLayoutTableCell(renderer())->colSpanOrRowSpanChanged();
+ if (layoutObject() && layoutObject()->isTableCell())
+ toLayoutTableCell(layoutObject())->colSpanOrRowSpanChanged();
} else if (name == colspanAttr) {
- if (renderer() && renderer()->isTableCell())
- toLayoutTableCell(renderer())->colSpanOrRowSpanChanged();
+ if (layoutObject() && layoutObject()->isTableCell())
+ toLayoutTableCell(layoutObject())->colSpanOrRowSpanChanged();
} else
HTMLTablePartElement::parseAttribute(name, value);
}
@@ -178,7 +178,7 @@ const AtomicString& HTMLTableCellElement::scope() const
HTMLTableCellElement* HTMLTableCellElement::cellAbove() const
{
- LayoutObject* cellRenderer = renderer();
+ LayoutObject* cellRenderer = layoutObject();
if (!cellRenderer)
return nullptr;
if (!cellRenderer->isTableCell())
« 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