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 3c9a9cc9929d09f71b34b94b35becb916bdb2521..d4a74f89a9a8e3fa4a25d7a3c401c6a5b17a2c1e 100644 |
--- a/ui/views/touchui/touch_selection_controller_impl_unittest.cc |
+++ b/ui/views/touchui/touch_selection_controller_impl_unittest.cc |
@@ -100,7 +100,7 @@ class TouchSelectionControllerImplTest : public ViewsTestBase { |
textfield_widget_->SetContentsView(container); |
container->AddChildView(textfield_); |
- textfield_->SetBoundsRect(gfx::Rect(0, 0, 200, 20)); |
+ textfield_->SetBounds(0, 0, 200, textfield_->GetHeightForWidth(200)); |
textfield_->set_id(1); |
textfield_widget_->Show(); |