Index: Source/core/page/TouchDisambiguation.cpp |
diff --git a/Source/core/page/TouchDisambiguation.cpp b/Source/core/page/TouchDisambiguation.cpp |
index b13fa18848c115f69a14132f900a94bee4eabc8c..e4a63f280feaa7fd03bd1b9444c373c632e05bd0 100644 |
--- a/Source/core/page/TouchDisambiguation.cpp |
+++ b/Source/core/page/TouchDisambiguation.cpp |
@@ -87,7 +87,7 @@ struct TouchTargetData { |
float score; |
}; |
-void findGoodTouchTargets(const IntRect& touchBox, Frame* mainFrame, Vector<IntRect>& goodTargets) |
+void findGoodTouchTargets(const IntRect& touchBox, Frame* mainFrame, Vector<IntRect>& goodTargets, Vector<Node*>& highlightNodes) |
{ |
goodTargets.clear(); |
@@ -143,6 +143,7 @@ void findGoodTouchTargets(const IntRect& touchBox, Frame* mainFrame, Vector<IntR |
if (it->value.score < bestScore * 0.5) |
continue; |
goodTargets.append(it->value.windowBoundingBox); |
+ highlightNodes.append(it->key); |
} |
} |