Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(178)

Unified Diff: views/touchui/touch_selection_controller_impl_unittest.cc

Issue 7728002: Fix test that started failing due to http://codereview.chromium.org/7696013/ (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/touchui/touch_selection_controller_impl_unittest.cc
diff --git a/views/touchui/touch_selection_controller_impl_unittest.cc b/views/touchui/touch_selection_controller_impl_unittest.cc
index 75353fefa07a44fea383ae2837d3828fe911d3a8..a7f6a1542cb8e2d7d75c263d7fa911ee900451f6 100644
--- a/views/touchui/touch_selection_controller_impl_unittest.cc
+++ b/views/touchui/touch_selection_controller_impl_unittest.cc
@@ -58,7 +58,7 @@ class TouchSelectionControllerImplTest : public ViewsTestBase {
gfx::RenderText* render_text = textfield_view_->GetRenderText();
gfx::Rect cursor_bounds = render_text->GetCursorBounds(
gfx::SelectionModel(cursor_pos), false);
- return gfx::Point(cursor_bounds.x(), cursor_bounds.bottom());
+ return gfx::Point(cursor_bounds.x(), cursor_bounds.bottom() - 1);
}
TouchSelectionControllerImpl* GetSelectionController() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698