| Index: Source/core/page/TouchDisambiguation.cpp
|
| diff --git a/Source/core/page/TouchDisambiguation.cpp b/Source/core/page/TouchDisambiguation.cpp
|
| index 62ca0754e21c90280dc39eeadbed9dd29356f313..00a084a2b0cf158ab4361565f0145bf45ab3e856 100644
|
| --- a/Source/core/page/TouchDisambiguation.cpp
|
| +++ b/Source/core/page/TouchDisambiguation.cpp
|
| @@ -95,8 +95,8 @@ void findGoodTouchTargets(const IntRect& touchBox, LocalFrame* mainFrame, Vector
|
| IntPoint touchPoint = touchBox.center();
|
| IntPoint contentsPoint = mainFrame->view()->windowToContents(touchPoint);
|
|
|
| - HitTestResult result = mainFrame->eventHandler().hitTestResultAtPoint(contentsPoint, HitTestRequest::ReadOnly | HitTestRequest::Active, LayoutSize(touchPointPadding, touchPointPadding));
|
| - const WillBeHeapListHashSet<RefPtrWillBeMember<Node>>& hitResults = result.rectBasedTestResult();
|
| + HitTestResult result = mainFrame->eventHandler().hitTestResultAtPoint(contentsPoint, HitTestRequest::ReadOnly | HitTestRequest::Active | HitTestRequest::ListBased, LayoutSize(touchPointPadding, touchPointPadding));
|
| + const WillBeHeapListHashSet<RefPtrWillBeMember<Node>>& hitResults = result.listBasedTestResult();
|
|
|
| // Blacklist nodes that are container of disambiguated nodes.
|
| // It is not uncommon to have a clickable <div> that contains other clickable objects.
|
|
|