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

Unified Diff: ui/touch_selection/touch_selection_controller_unittest.cc

Issue 1129443006: Increase the slop value for text selection offsets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test Created 5 years, 7 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 | « ui/touch_selection/touch_selection_controller.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/touch_selection/touch_selection_controller_unittest.cc
diff --git a/ui/touch_selection/touch_selection_controller_unittest.cc b/ui/touch_selection/touch_selection_controller_unittest.cc
index 9003c4fb5e14ed900bf5bcbeb79e6c25d29554db..cf585c972525910cb215392022cce28888dd2ebb 100644
--- a/ui/touch_selection/touch_selection_controller_unittest.cc
+++ b/ui/touch_selection/touch_selection_controller_unittest.cc
@@ -884,7 +884,7 @@ TEST_F(TouchSelectionControllerTest, SelectionDragExtremeLineSize) {
// offset, allowing seamless transition to neighboring lines with different
// sizes. The drag coordinate for small lines should have an offset
// commensurate with the small line size.
- EXPECT_EQ(large_line_rect.bottom_left() - gfx::Vector2dF(0, 5.f),
+ EXPECT_EQ(large_line_rect.bottom_left() - gfx::Vector2dF(0, 8.f),
GetLastSelectionStart());
EXPECT_EQ(small_line_rect.CenterPoint(), GetLastSelectionEnd());
« no previous file with comments | « ui/touch_selection/touch_selection_controller.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698