| Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| index 4e2893a1d6079206e82fb4a722a7a48419da675e..11d6e09a793ce33d4f2057a2287c080dd792b7ce 100644
|
| --- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| @@ -976,8 +976,9 @@ void WebLocalFrameImpl::replaceSelection(const WebString& text) {
|
| bool selectReplacement =
|
| frame()->editor().behavior().shouldSelectReplacement();
|
| bool smartReplace = true;
|
| - frame()->editor().replaceSelectionWithText(text, selectReplacement,
|
| - smartReplace);
|
| + frame()->editor().replaceSelectionWithText(
|
| + text, selectReplacement, smartReplace,
|
| + InputEvent::InputType::InsertReplacementText);
|
| }
|
|
|
| void WebLocalFrameImpl::setMarkedText(const WebString& text,
|
|
|