Index: chrome/test/data/extensions/api_test/automation/tests/desktop/hit_test.js |
diff --git a/chrome/test/data/extensions/api_test/automation/tests/desktop/hit_test.js b/chrome/test/data/extensions/api_test/automation/tests/desktop/hit_test.js |
index 924579c7f6fe82fa2be5c85531ab0c3513b370bf..57450169811a69c5803621db3a5a286ee3745fa8 100644 |
--- a/chrome/test/data/extensions/api_test/automation/tests/desktop/hit_test.js |
+++ b/chrome/test/data/extensions/api_test/automation/tests/desktop/hit_test.js |
@@ -20,10 +20,8 @@ var allTests = [ |
button.addEventListener(EventType.ALERT, function() { |
chrome.test.succeed(); |
}, true); |
- var cx = Math.floor( |
- button.location.left + button.location.width / 2); |
- var cy = Math.floor( |
- button.location.top + button.location.height / 2); |
+ var cx = button.location.left + button.location.width / 2; |
+ var cy = button.location.top + button.location.height / 2; |
desktop.hitTest(cx, cy, EventType.ALERT); |
} |
} |