Skip to content

Commit

Permalink
Remove extra coordinates from ItemChooserDialogTest.
Browse files Browse the repository at this point in the history
Review URL: https://codereview.chromium.org/1528913004

Cr-Commit-Position: refs/heads/master@{#365808}
  • Loading branch information
jyasskin authored and Commit bot committed Dec 17, 2015
1 parent 2f3fc46 commit 609f7d8
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ public boolean isSatisfied() {
});

// Verify first item selected gets selected.
// TODO(finnur): Stop using coordinates 10, 10 when crbug.com/532237 is fixed.
TouchCommon.singleClickView(items.getChildAt(position - 1), 10, 10);
TouchCommon.singleClickView(items.getChildAt(position - 1));

CriteriaHelper.pollForUIThreadCriteria(new Criteria() {
@Override
Expand All @@ -102,8 +101,7 @@ public boolean isSatisfied() {

if (!expectedEnabledState) return;

// TODO(finnur): Stop using coordinates 10, 10 when crbug.com/532237 is fixed.
TouchCommon.singleClickView(button, 10, 10);
TouchCommon.singleClickView(button);

CriteriaHelper.pollForUIThreadCriteria(new Criteria() {
@Override
Expand Down

0 comments on commit 609f7d8

Please sign in to comment.