Index: LayoutTests/fast/regions/selection/selecting-text-through-different-region-flows.html |
diff --git a/LayoutTests/fast/regions/selection/selecting-text-through-different-region-flows.html b/LayoutTests/fast/regions/selection/selecting-text-through-different-region-flows.html |
index 65f9a04fc7b272c75e16a4dd6f537423b9db5807..edb624db3e75797badd837db341db6a3fea9bbc8 100644 |
--- a/LayoutTests/fast/regions/selection/selecting-text-through-different-region-flows.html |
+++ b/LayoutTests/fast/regions/selection/selecting-text-through-different-region-flows.html |
@@ -1,6 +1,7 @@ |
<!DOCTYPE html> |
<html> |
<head> |
+<script src="../resources/helper.js"></script> |
<style> |
body { width: 600px; } |
@@ -46,9 +47,7 @@ if (window.testRunner) { |
eventSender.mouseUp(); |
// We are moving the mouse somewhere else and click to clear the selection |
- eventSender.mouseMoveTo(1, 1); |
- eventSender.mouseDown(); |
- eventSender.mouseUp(); |
+ mouseClick(1, 1); |
} |
</script> |
</body> |