| Index: Source/core/rendering/RenderLineBoxList.cpp
|
| diff --git a/Source/core/rendering/RenderLineBoxList.cpp b/Source/core/rendering/RenderLineBoxList.cpp
|
| index 61d3d799c3e965c5c4012af0e2737e4d0d12768d..c7bfd2128a7500109c6ddf40ca128df7d1be4dec 100644
|
| --- a/Source/core/rendering/RenderLineBoxList.cpp
|
| +++ b/Source/core/rendering/RenderLineBoxList.cpp
|
| @@ -144,7 +144,7 @@ void RenderLineBoxList::dirtyLineBoxes()
|
| curr->dirtyLineBoxes();
|
| }
|
|
|
| -bool RenderLineBoxList::rangeIntersectsRect(RenderBoxModelObject* renderer, LayoutUnit logicalTop, LayoutUnit logicalBottom, const LayoutRect& rect, const LayoutPoint& offset) const
|
| +bool RenderLineBoxList::rangeIntersectsRect(LayoutBoxModelObject* renderer, LayoutUnit logicalTop, LayoutUnit logicalBottom, const LayoutRect& rect, const LayoutPoint& offset) const
|
| {
|
| RenderBox* block;
|
| if (renderer->isBox())
|
| @@ -169,7 +169,7 @@ bool RenderLineBoxList::rangeIntersectsRect(RenderBoxModelObject* renderer, Layo
|
| return true;
|
| }
|
|
|
| -bool RenderLineBoxList::anyLineIntersectsRect(RenderBoxModelObject* renderer, const LayoutRect& rect, const LayoutPoint& offset) const
|
| +bool RenderLineBoxList::anyLineIntersectsRect(LayoutBoxModelObject* renderer, const LayoutRect& rect, const LayoutPoint& offset) const
|
| {
|
| // We can check the first box and last box and avoid painting/hit testing if we don't
|
| // intersect. This is a quick short-circuit that we can take to avoid walking any lines.
|
| @@ -183,7 +183,7 @@ bool RenderLineBoxList::anyLineIntersectsRect(RenderBoxModelObject* renderer, co
|
| return rangeIntersectsRect(renderer, firstLineTop, lastLineBottom, rect, offset);
|
| }
|
|
|
| -bool RenderLineBoxList::lineIntersectsDirtyRect(RenderBoxModelObject* renderer, InlineFlowBox* box, const PaintInfo& paintInfo, const LayoutPoint& offset) const
|
| +bool RenderLineBoxList::lineIntersectsDirtyRect(LayoutBoxModelObject* renderer, InlineFlowBox* box, const PaintInfo& paintInfo, const LayoutPoint& offset) const
|
| {
|
| RootInlineBox& root = box->root();
|
| LayoutUnit logicalTop = std::min<LayoutUnit>(box->logicalTopVisualOverflow(root.lineTop()), root.selectionTop());
|
| @@ -192,7 +192,7 @@ bool RenderLineBoxList::lineIntersectsDirtyRect(RenderBoxModelObject* renderer,
|
| return rangeIntersectsRect(renderer, logicalTop, logicalBottom, paintInfo.rect, offset);
|
| }
|
|
|
| -bool RenderLineBoxList::hitTest(RenderBoxModelObject* renderer, const HitTestRequest& request, HitTestResult& result, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction hitTestAction) const
|
| +bool RenderLineBoxList::hitTest(LayoutBoxModelObject* renderer, const HitTestRequest& request, HitTestResult& result, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction hitTestAction) const
|
| {
|
| if (hitTestAction != HitTestForeground)
|
| return false;
|
|
|