| 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 06ab5f4434b088fb5d5c3972055f22cda5359094..3bdbbd5f6c54fa211a1ad2f2710ed46594651b05 100644
|
| --- a/ui/views/touchui/touch_selection_controller_impl_unittest.cc
|
| +++ b/ui/views/touchui/touch_selection_controller_impl_unittest.cc
|
| @@ -553,13 +553,15 @@ TEST_F(TouchSelectionControllerImplTest,
|
| textfield_->OnGestureEvent(&tap);
|
|
|
| // Select some text such that one handle is hidden.
|
| - textfield_->SelectRange(gfx::Range(10, textfield_text.length()));
|
| + textfield_->SelectRange(
|
| + gfx::Range(10u, static_cast<uint32_t>(textfield_text.length())));
|
|
|
| // Check that one selection handle is hidden.
|
| EXPECT_FALSE(IsSelectionHandle1Visible());
|
| EXPECT_TRUE(IsSelectionHandle2Visible());
|
| - EXPECT_EQ(gfx::Range(10, textfield_text.length()),
|
| - textfield_->GetSelectedRange());
|
| + EXPECT_EQ(
|
| + gfx::Range(10u, static_cast<uint32_t>(textfield_text.length())),
|
| + textfield_->GetSelectedRange());
|
|
|
| // Drag the visible handle around and make sure the selection end point of the
|
| // invisible handle does not change.
|
|
|