| 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 380943d4bd35d176f42aaf4746e2d270e45c48ab..f89bca628377e5fcbbf94d2cf31226e7d021fc61 100644
|
| --- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| @@ -47,6 +47,7 @@
|
| #include "core/editing/EphemeralRange.h"
|
| #include "core/editing/FrameSelection.h"
|
| #include "core/editing/VisiblePosition.h"
|
| +#include "core/editing/commands/CompositeEditCommand.h"
|
| #include "core/editing/markers/DocumentMarkerController.h"
|
| #include "core/editing/spellcheck/SpellChecker.h"
|
| #include "core/events/MouseEvent.h"
|
| @@ -6428,7 +6429,8 @@ TEST_P(ParameterizedWebFrameTest, CancelSpellingRequestCrash) {
|
|
|
| element->focus();
|
| frame->frame()->editor().replaceSelectionWithText(
|
| - "A", false, false, InputEvent::InputType::InsertReplacementText);
|
| + blink::CommandSource::MenuOrKeyBinding, "A", false, false,
|
| + InputEvent::InputType::InsertReplacementText);
|
| frame->frame()->spellChecker().cancelCheck();
|
| }
|
|
|
|
|