Index: Source/core/rendering/RenderTableRow.cpp |
diff --git a/Source/core/rendering/RenderTableRow.cpp b/Source/core/rendering/RenderTableRow.cpp |
index c84a1807a044d7ee31a7573d3d4481f3db60a89a..0e129aa63404fab4a93472cdd91a18fe877a9389 100644 |
--- a/Source/core/rendering/RenderTableRow.cpp |
+++ b/Source/core/rendering/RenderTableRow.cpp |
@@ -163,7 +163,7 @@ void RenderTableRow::layout() |
LayoutRectRecorder recorder(*this); |
// Table rows do not add translation. |
- LayoutStateMaintainer statePusher(this, LayoutSize()); |
+ LayoutStateMaintainer statePusher(*this, LayoutSize()); |
bool paginated = view()->layoutState()->isPaginated(); |
@@ -171,7 +171,7 @@ void RenderTableRow::layout() |
if (child->isTableCell()) { |
SubtreeLayoutScope layouter(child); |
RenderTableCell* cell = toRenderTableCell(child); |
- if (!cell->needsLayout() && paginated && view()->layoutState()->pageLogicalHeight() && view()->layoutState()->pageLogicalOffset(cell, cell->logicalTop()) != cell->pageLogicalOffset()) |
+ if (!cell->needsLayout() && paginated && view()->layoutState()->pageLogicalHeight() && view()->layoutState()->pageLogicalOffset(*cell, cell->logicalTop()) != cell->pageLogicalOffset()) |
layouter.setChildNeedsLayout(cell); |
if (child->needsLayout()) { |