Index: Source/core/page/TouchDisambiguation.cpp |
diff --git a/Source/core/page/TouchDisambiguation.cpp b/Source/core/page/TouchDisambiguation.cpp |
index ef2cc89cf32302a7c65ec279c1eed06d0327716c..9d9b8c07e73741e328f90d69ad34def7038a469a 100644 |
--- a/Source/core/page/TouchDisambiguation.cpp |
+++ b/Source/core/page/TouchDisambiguation.cpp |
@@ -128,7 +128,7 @@ void findGoodTouchTargets(const IntRect& touchBox, Frame* mainFrame, Vector<IntR |
if (node->isDocumentNode() || node->hasTagName(HTMLNames::htmlTag) || node->hasTagName(HTMLNames::bodyTag)) |
break; |
if (node->willRespondToMouseClickEvents()) { |
- TouchTargetData& targetData = touchTargets.add(node, TouchTargetData()).iterator->value; |
+ TouchTargetData& targetData = touchTargets.add(node, TouchTargetData()).storedValue->value; |
targetData.windowBoundingBox = boundingBoxForEventNodes(node); |
targetData.score = scoreTouchTarget(touchPoint, touchPointPadding, targetData.windowBoundingBox); |
bestScore = max(bestScore, targetData.score); |