Rename CompositionUnderline to ImeTextSpan

https://chromium-review.googlesource.com/609524
This commit is contained in:
Aleksei Kuzmin 2017-11-23 21:12:06 +01:00 коммит произвёл Cheng Zhao
Родитель 024f84f1be
Коммит b02edd014a
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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::WebCompositionUnderline>(),
blink::WebVector<blink::WebImeTextSpan>(),
blink::WebRange(),
0);
}