| 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 55a2d822bf3da8af298694cbb3093a8a899f4e2b..ae4507696a11989b6e600bdd970a1116007f621c 100644
|
| --- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerControllerTest.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerControllerTest.cpp
|
| @@ -203,10 +203,12 @@ TEST_F(DocumentMarkerControllerTest, CompositionMarkersNotMerged) {
|
| setBodyInnerHTML("<div style='margin: 100px'>foo</div>");
|
| Node* text = document().body()->firstChild()->firstChild();
|
| document().updateStyleAndLayout();
|
| - markerController().addCompositionMarker(Position(text, 0), Position(text, 1),
|
| - Color::black, false, Color::black);
|
| - markerController().addCompositionMarker(Position(text, 1), Position(text, 3),
|
| - Color::black, true, Color::black);
|
| + markerController().addCompositionMarker(
|
| + EphemeralRange(Position(text, 0), Position(text, 1)), Color::black, false,
|
| + Color::black);
|
| + markerController().addCompositionMarker(
|
| + EphemeralRange(Position(text, 1), Position(text, 3)), Color::black, true,
|
| + Color::black);
|
|
|
| EXPECT_EQ(2u, markerController().markers().size());
|
| }
|
|
|