From b02edd014ad2a4f9c83ddd24d4e2fb4bcf4f37bf Mon Sep 17 00:00:00 2001 From: Aleksei Kuzmin Date: Thu, 23 Nov 2017 21:12:06 +0100 Subject: [PATCH] Rename CompositionUnderline to ImeTextSpan https://chromium-review.googlesource.com/609524 --- atom/renderer/api/atom_api_web_frame.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/atom/renderer/api/atom_api_web_frame.cc b/atom/renderer/api/atom_api_web_frame.cc index d0164f44a0..6ebd63d27a 100644 --- a/atom/renderer/api/atom_api_web_frame.cc +++ b/atom/renderer/api/atom_api_web_frame.cc @@ -20,6 +20,7 @@ #include "third_party/WebKit/public/platform/WebCache.h" #include "third_party/WebKit/public/web/WebDocument.h" #include "third_party/WebKit/public/web/WebFrameWidget.h" +#include "third_party/WebKit/public/web/WebImeTextSpan.h" #include "third_party/WebKit/public/web/WebInputMethodController.h" #include "third_party/WebKit/public/web/WebLocalFrame.h" #include "third_party/WebKit/public/web/WebScriptExecutionCallback.h" @@ -263,7 +264,7 @@ void WebFrame::InsertText(const std::string& text) { web_frame_->FrameWidget() ->GetActiveWebInputMethodController() ->CommitText(blink::WebString::FromUTF8(text), - blink::WebVector(), + blink::WebVector(), blink::WebRange(), 0); }