Index: Source/core/page/EventHandler.cpp |
diff --git a/Source/core/page/EventHandler.cpp b/Source/core/page/EventHandler.cpp |
index 2afd72a6b9ddca6a7d19fc5d3f3d67163cee9290..4ab0e98db4d2b4649ed421b6450273be4480d5f3 100644 |
--- a/Source/core/page/EventHandler.cpp |
+++ b/Source/core/page/EventHandler.cpp |
@@ -2619,7 +2619,7 @@ bool EventHandler::bestClickableNodeForTouchPoint(const IntPoint& touchCenter, c |
// in the case where further processing on the node is required. Returning the shadow ancestor prevents a |
// regression in touchadjustment/html-label.html. Some refinement is required to testing/internals to |
// handle targetNode being a shadow DOM node. |
- bool success = findBestClickableCandidate(targetNode, targetPoint, touchCenter, touchRect, nodes); |
+ bool success = findBestClickableCandidate(targetNode, targetPoint, touchCenter, touchRect, Vector<RefPtr<Node> > (nodes)); |
if (success && targetNode) |
targetNode = targetNode->deprecatedShadowAncestorNode(); |
return success; |
@@ -2633,7 +2633,7 @@ bool EventHandler::bestContextMenuNodeForTouchPoint(const IntPoint& touchCenter, |
IntRect touchRect(touchCenter - touchRadius, touchRadius + touchRadius); |
Vector<RefPtr<Node>, 11> nodes; |
copyToVector(result.rectBasedTestResult(), nodes); |
- return findBestContextMenuCandidate(targetNode, targetPoint, touchCenter, touchRect, nodes); |
+ return findBestContextMenuCandidate(targetNode, targetPoint, touchCenter, touchRect, Vector<RefPtr<Node> >(nodes)); |
} |
bool EventHandler::bestZoomableAreaForTouchPoint(const IntPoint& touchCenter, const IntSize& touchRadius, IntRect& targetArea, Node*& targetNode) |
@@ -2644,7 +2644,7 @@ bool EventHandler::bestZoomableAreaForTouchPoint(const IntPoint& touchCenter, co |
IntRect touchRect(touchCenter - touchRadius, touchRadius + touchRadius); |
Vector<RefPtr<Node>, 11> nodes; |
copyToVector(result.rectBasedTestResult(), nodes); |
- return findBestZoomableArea(targetNode, targetArea, touchCenter, touchRect, nodes); |
+ return findBestZoomableArea(targetNode, targetArea, touchCenter, touchRect, Vector<RefPtr<Node> >(nodes)); |
} |
bool EventHandler::adjustGesturePosition(const PlatformGestureEvent& gestureEvent, IntPoint& adjustedPoint) |