Index: third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
index 6960260cffa7d254860dd354c1fc2db5566de71b..0177556f3e13e37f9e46fcdda965399a49a3703f 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
@@ -1481,14 +1481,6 @@ bool LayoutBlock::isPointInOverflowControl(HitTestResult& result, const LayoutPo |
return layer()->getScrollableArea()->hitTestOverflowControls(result, roundedIntPoint(locationInContainer - toLayoutSize(accumulatedOffset))); |
} |
-Node* LayoutBlock::nodeForHitTest() const |
-{ |
- // If we are in the margins of block elements that are part of a |
- // continuation we're actually still inside the enclosing element |
- // that was split. Use the appropriate inner node. |
- return isAnonymousBlockContinuation() ? continuation()->node() : node(); |
-} |
- |
bool LayoutBlock::hitTestOverflowControl(HitTestResult& result, const HitTestLocation& locationInContainer, const LayoutPoint& adjustedLocation) |
{ |
if (visibleToHitTestRequest(result.hitTestRequest()) |