Index: content/browser/renderer_host/input/touch_selection_controller_unittest.cc |
diff --git a/content/browser/renderer_host/input/touch_selection_controller_unittest.cc b/content/browser/renderer_host/input/touch_selection_controller_unittest.cc |
index 5bdf57273fdadb5440308246953041cd8361dde9..c3422077dd91036fc9f445c2710ec92c27f48a5d 100644 |
--- a/content/browser/renderer_host/input/touch_selection_controller_unittest.cc |
+++ b/content/browser/renderer_host/input/touch_selection_controller_unittest.cc |
@@ -632,31 +632,6 @@ TEST_F(TouchSelectionControllerTest, Animation) { |
EXPECT_FALSE(GetAndResetNeedsAnimate()); |
} |
-TEST_F(TouchSelectionControllerTest, TemporarilyHidden) { |
- controller().OnTapEvent(); |
- controller().OnSelectionEditable(true); |
- |
- gfx::RectF insertion_rect(5, 5, 0, 10); |
- |
- bool visible = true; |
- ChangeInsertion(insertion_rect, visible); |
- EXPECT_FALSE(GetAndResetNeedsAnimate()); |
- |
- controller().SetTemporarilyHidden(true); |
- EXPECT_TRUE(GetAndResetNeedsAnimate()); |
- |
- visible = false; |
- ChangeInsertion(insertion_rect, visible); |
- EXPECT_FALSE(GetAndResetNeedsAnimate()); |
- |
- visible = true; |
- ChangeInsertion(insertion_rect, visible); |
- EXPECT_FALSE(GetAndResetNeedsAnimate()); |
- |
- controller().SetTemporarilyHidden(false); |
- EXPECT_TRUE(GetAndResetNeedsAnimate()); |
-} |
- |
TEST_F(TouchSelectionControllerTest, SelectionClearOnTap) { |
gfx::RectF start_rect(5, 5, 0, 10); |
gfx::RectF end_rect(50, 5, 0, 10); |