Index: third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp |
diff --git a/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp b/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp |
index 9e71df2eebcecb00169d30a24922c2cf61cb16ac..49f1e041d37dda757deb5819b6e76283aa62ae01 100644 |
--- a/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp |
+++ b/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp |
@@ -1870,12 +1870,10 @@ TEST_F(InputMethodControllerTest, Marker_DeleteMiddleOfMarker) { |
controller().setCompositionFromExistingText(emptyUnderlines, 6, 9); |
controller().commitText(String(""), emptyUnderlines, 0); |
- EXPECT_EQ(2u, document().markers().markers().size()); |
+ EXPECT_EQ(1u, document().markers().markers().size()); |
EXPECT_EQ(5u, document().markers().markers()[0]->startOffset()); |
- EXPECT_EQ(6u, document().markers().markers()[0]->endOffset()); |
- EXPECT_EQ(6u, document().markers().markers()[1]->startOffset()); |
- EXPECT_EQ(7u, document().markers().markers()[1]->endOffset()); |
+ EXPECT_EQ(7u, document().markers().markers()[0]->endOffset()); |
} |
TEST_F(InputMethodControllerTest, Marker_InsertInMarkerInterior) { |