| 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 fa8680ad832bbe4e3bc47c0a3548e81272aec089..1df806daa8fa2032f1573db33c13c1d1e8e4bb67 100644
|
| --- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| @@ -974,8 +974,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,
|
|
|