| Index: third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| index a881cd8ec2ae8b71dc132bd296ab5bd937ac4212..d773da8070b2b47fbbd7fdedbaac6060d8fdbf44 100644
|
| --- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| @@ -5151,7 +5151,7 @@ TEST_P(ParameterizedWebFrameTest, ReplaceMisspelledRange)
|
|
|
| const int allTextBeginOffset = 0;
|
| const int allTextLength = 11;
|
| - frame->selectRange(WebRange::fromDocumentRange(frame, allTextBeginOffset, allTextLength));
|
| + frame->selectRange(WebRange(allTextBeginOffset, allTextLength));
|
| EphemeralRange selectionRange = frame->frame()->selection().selection().toNormalizedEphemeralRange();
|
|
|
| EXPECT_EQ(1, spellcheck.numberOfTimesChecked());
|
| @@ -5185,7 +5185,7 @@ TEST_P(ParameterizedWebFrameTest, RemoveSpellingMarkers)
|
|
|
| const int allTextBeginOffset = 0;
|
| const int allTextLength = 11;
|
| - frame->selectRange(WebRange::fromDocumentRange(frame, allTextBeginOffset, allTextLength));
|
| + frame->selectRange(WebRange(allTextBeginOffset, allTextLength));
|
| EphemeralRange selectionRange = frame->frame()->selection().selection().toNormalizedEphemeralRange();
|
|
|
| EXPECT_EQ(0U, document->markers().markersInRange(selectionRange, DocumentMarker::Spelling).size());
|
|
|