Index: Source/core/rendering/RenderTableCell.cpp |
diff --git a/Source/core/rendering/RenderTableCell.cpp b/Source/core/rendering/RenderTableCell.cpp |
index a9b9d21fb05d8af6dc6bc44cff961e27934bc78d..332dbd89b791570664c29fbe5f2dc298b43e0db7 100644 |
--- a/Source/core/rendering/RenderTableCell.cpp |
+++ b/Source/core/rendering/RenderTableCell.cpp |
@@ -385,13 +385,12 @@ LayoutUnit RenderTableCell::cellBaselinePosition() const |
void RenderTableCell::styleDidChange(StyleDifference diff, const RenderStyle* oldStyle) |
{ |
ASSERT(style()->display() == TABLE_CELL); |
- ASSERT(!row() || row()->rowIndexWasSet()); |
RenderBlockFlow::styleDidChange(diff, oldStyle); |
setHasBoxDecorationBackground(true); |
if (parent() && section() && oldStyle && style()->height() != oldStyle->height()) |
- section()->rowLogicalHeightChanged(rowIndex()); |
+ section()->rowLogicalHeightChanged(row()); |
// Our intrinsic padding pushes us down to align with the baseline of other cells on the row. If our vertical-align |
// has changed then so will the padding needed to align with other cells - clear it so we can recalculate it from scratch. |