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

Unified Diff: ui/views/touchui/touch_selection_controller_impl_unittest.cc

Issue 2120353003: Fix TouchSelectionControllerImpl tests failing with DPI=125% (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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: ui/views/touchui/touch_selection_controller_impl_unittest.cc
diff --git a/ui/views/touchui/touch_selection_controller_impl_unittest.cc b/ui/views/touchui/touch_selection_controller_impl_unittest.cc
index b1a5e36e3dc2de210f9266c55a02777f7c6a2a6a..599349ec2e71fcf0b00cba2ea4b45b740eea8b30 100644
--- a/ui/views/touchui/touch_selection_controller_impl_unittest.cc
+++ b/ui/views/touchui/touch_selection_controller_impl_unittest.cc
@@ -97,7 +97,7 @@ class TouchSelectionControllerImplTest : public ViewsTestBase {
textfield_widget_->SetContentsView(container);
container->AddChildView(textfield_);
- textfield_->SetBoundsRect(gfx::Rect(0, 0, 200, 20));
+ textfield_->SetBoundsRect(gfx::Rect(0, 0, 200, 21));
mohsen 2016/07/07 19:41:13 Is this one extra pixel going to be enough for all
textfield_->set_id(1);
textfield_widget_->Show();
« 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