diff options
author | Simon Hausmann <simon.hausmann@nokia.com> | 2012-06-25 13:35:59 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@nokia.com> | 2012-06-25 13:35:59 +0200 |
commit | 79ad030d505ccf79cf10aa9f8189ca3e2f61f6f4 (patch) | |
tree | 0287b1a69d84492c901e8bc820e635e7133809a0 /Source/WebCore/rendering/RenderTableRow.cpp | |
parent | 682ab87480e7757346802ce7f54cfdbdfeb2339e (diff) | |
download | qtwebkit-79ad030d505ccf79cf10aa9f8189ca3e2f61f6f4.tar.gz |
Imported WebKit commit c4b613825abd39ac739a47d7b4410468fcef66dc (http://svn.webkit.org/repository/webkit/trunk@121147)
New snapshot that includes Win32 debug build fix (use SVGAllInOne)
Diffstat (limited to 'Source/WebCore/rendering/RenderTableRow.cpp')
-rw-r--r-- | Source/WebCore/rendering/RenderTableRow.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/WebCore/rendering/RenderTableRow.cpp b/Source/WebCore/rendering/RenderTableRow.cpp index 3caa7b4f3..0e424bc11 100644 --- a/Source/WebCore/rendering/RenderTableRow.cpp +++ b/Source/WebCore/rendering/RenderTableRow.cpp @@ -28,6 +28,7 @@ #include "CachedImage.h" #include "Document.h" #include "HTMLNames.h" +#include "HitTestResult.h" #include "PaintInfo.h" #include "RenderTableCell.h" #include "RenderView.h" @@ -193,7 +194,7 @@ LayoutRect RenderTableRow::clippedOverflowRectForRepaint(RenderBoxModelObject* r } // Hit Testing -bool RenderTableRow::nodeAtPoint(const HitTestRequest& request, HitTestResult& result, const LayoutPoint& pointInContainer, const LayoutPoint& accumulatedOffset, HitTestAction action) +bool RenderTableRow::nodeAtPoint(const HitTestRequest& request, HitTestResult& result, const HitTestPoint& pointInContainer, const LayoutPoint& accumulatedOffset, HitTestAction action) { // Table rows cannot ever be hit tested. Effectively they do not exist. // Just forward to our children always. @@ -205,12 +206,12 @@ bool RenderTableRow::nodeAtPoint(const HitTestRequest& request, HitTestResult& r if (child->isTableCell() && !toRenderBox(child)->hasSelfPaintingLayer()) { LayoutPoint cellPoint = flipForWritingModeForChild(toRenderTableCell(child), accumulatedOffset); if (child->nodeAtPoint(request, result, pointInContainer, cellPoint, action)) { - updateHitTestResult(result, pointInContainer - toLayoutSize(cellPoint)); + updateHitTestResult(result, pointInContainer.point() - toLayoutSize(cellPoint)); return true; } } } - + return false; } |