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

Unified Diff: Source/core/layout/LayoutTableCellTest.cpp

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase to master Created 5 years, 10 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
Index: Source/core/layout/LayoutTableCellTest.cpp
diff --git a/Source/core/layout/LayoutTableCellTest.cpp b/Source/core/layout/LayoutTableCellTest.cpp
index 5c9d80d938b214ca422a0a27a64518cb05f74769..2123fbe8282028e58dd75378be75dc949dfd99a3 100644
--- a/Source/core/layout/LayoutTableCellTest.cpp
+++ b/Source/core/layout/LayoutTableCellTest.cpp
@@ -83,7 +83,7 @@ TEST_F(LayoutTableCellTest, ResetColspanIfTooBig)
{
setBodyInnerHTML("<table><td colspan='14000'></td></table>");
- LayoutTableCell* cell = toLayoutTableCell(document().body()->firstChild()->firstChild()->firstChild()->firstChild()->renderer());
+ LayoutTableCell* cell = toLayoutTableCell(document().body()->firstChild()->firstChild()->firstChild()->firstChild()->layoutObject());
ASSERT_EQ(cell->colSpan(), 8190U);
}
@@ -91,7 +91,7 @@ TEST_F(LayoutTableCellTest, DoNotResetColspanJustBelowBoundary)
{
setBodyInnerHTML("<table><td colspan='8190'></td></table>");
- LayoutTableCell* cell = toLayoutTableCell(document().body()->firstChild()->firstChild()->firstChild()->firstChild()->renderer());
+ LayoutTableCell* cell = toLayoutTableCell(document().body()->firstChild()->firstChild()->firstChild()->firstChild()->layoutObject());
ASSERT_EQ(cell->colSpan(), 8190U);
}
@@ -99,7 +99,7 @@ TEST_F(LayoutTableCellTest, ResetRowspanIfTooBig)
{
setBodyInnerHTML("<table><td rowspan='14000'></td></table>");
- LayoutTableCell* cell = toLayoutTableCell(document().body()->firstChild()->firstChild()->firstChild()->firstChild()->renderer());
+ LayoutTableCell* cell = toLayoutTableCell(document().body()->firstChild()->firstChild()->firstChild()->firstChild()->layoutObject());
ASSERT_EQ(cell->rowSpan(), 8190U);
}
@@ -107,7 +107,7 @@ TEST_F(LayoutTableCellTest, DoNotResetRowspanJustBelowBoundary)
{
setBodyInnerHTML("<table><td rowspan='8190'></td></table>");
- LayoutTableCell* cell = toLayoutTableCell(document().body()->firstChild()->firstChild()->firstChild()->firstChild()->renderer());
+ LayoutTableCell* cell = toLayoutTableCell(document().body()->firstChild()->firstChild()->firstChild()->firstChild()->layoutObject());
ASSERT_EQ(cell->rowSpan(), 8190U);
}

Powered by Google App Engine
This is Rietveld 408576698