| Index: third_party/WebKit/Source/core/editing/markers/DocumentMarkerControllerTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerControllerTest.cpp b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerControllerTest.cpp
|
| index 7e2b526ff7ea4a6685731c31760a880ce0f86b95..eb9e956095f8dd1028f55e422d98e411e55e869f 100644
|
| --- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerControllerTest.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerControllerTest.cpp
|
| @@ -220,10 +220,12 @@ TEST_F(DocumentMarkerControllerTest, CompositionMarkersNotMerged) {
|
| SetBodyInnerHTML("<div style='margin: 100px'>foo</div>");
|
| Node* text = GetDocument().body()->firstChild()->firstChild();
|
| GetDocument().UpdateStyleAndLayout();
|
| - MarkerController().AddCompositionMarker(Position(text, 0), Position(text, 1),
|
| - Color::kBlack, false, Color::kBlack);
|
| - MarkerController().AddCompositionMarker(Position(text, 1), Position(text, 3),
|
| - Color::kBlack, true, Color::kBlack);
|
| + MarkerController().AddCompositionMarker(
|
| + EphemeralRange(Position(text, 0), Position(text, 1)), Color::kBlack,
|
| + false, Color::kBlack);
|
| + MarkerController().AddCompositionMarker(
|
| + EphemeralRange(Position(text, 1), Position(text, 3)), Color::kBlack, true,
|
| + Color::kBlack);
|
|
|
| EXPECT_EQ(2u, MarkerController().Markers().size());
|
| }
|
|
|