| 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 84f9eb1f4e07afb6dcec4748c4378baeb7b8a0a7..f8575238dffc8609c72006c437bb057a9ce49f2c 100644
|
| --- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| @@ -5384,6 +5384,9 @@ TEST_P(ParameterizedWebFrameTest, SpellcheckResultErasesMarkers)
|
| element->focus();
|
| NonThrowableExceptionState exceptionState;
|
| document->execCommand("InsertText", false, "welcome ", exceptionState);
|
| +
|
| + document->updateStyleAndLayout();
|
| +
|
| EXPECT_FALSE(exceptionState.hadException());
|
| auto range = EphemeralRange::rangeOfContents(*element);
|
| document->markers().addMarker(range.startPosition(), range.endPosition(), DocumentMarker::Spelling);
|
|
|