| Index: Source/core/rendering/RenderTableCell.cpp
|
| diff --git a/Source/core/rendering/RenderTableCell.cpp b/Source/core/rendering/RenderTableCell.cpp
|
| index 8c536306b35748ac871cbe583a3f4945e5f3f51d..36f67428a397bf6384af130f7f7eff42be74b65b 100644
|
| --- a/Source/core/rendering/RenderTableCell.cpp
|
| +++ b/Source/core/rendering/RenderTableCell.cpp
|
| @@ -163,6 +163,16 @@ void RenderTableCell::computePreferredLogicalWidths()
|
| }
|
| }
|
|
|
| +void RenderTableCell::addLayerHitTestRects(LayerHitTestRects& layerRects, const RenderLayer* currentLayer, const LayoutPoint& layerOffset, const LayoutRect& containerRect) const
|
| +{
|
| + LayoutPoint adjustedLayerOffset = layerOffset;
|
| + // RenderTableCell's location includes the offset of it's containing RenderTableRow, so
|
| + // we need to subtract that again here (as for RenderTableCell::offsetFromContainer.
|
| + if (parent())
|
| + adjustedLayerOffset -= parentBox()->locationOffset();
|
| + RenderBox::addLayerHitTestRects(layerRects, currentLayer, adjustedLayerOffset, containerRect);
|
| +}
|
| +
|
| void RenderTableCell::computeIntrinsicPadding(int rowHeight, SubtreeLayoutScope& layouter)
|
| {
|
| int oldIntrinsicPaddingBefore = intrinsicPaddingBefore();
|
|
|