Index: Source/core/page/TouchDisambiguation.cpp |
diff --git a/Source/core/page/TouchDisambiguation.cpp b/Source/core/page/TouchDisambiguation.cpp |
index 4cab1f50e6cce83128c82af68bba715dfebfdadf..6638ce39c960a3e2cfc2c255885afde389cdd929 100644 |
--- a/Source/core/page/TouchDisambiguation.cpp |
+++ b/Source/core/page/TouchDisambiguation.cpp |
@@ -88,7 +88,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(); |
@@ -144,6 +144,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); |
} |
} |