mirror of
https://github.com/electron/electron.git
synced 2026-02-02 19:25:41 -05:00
Rename CompositionUnderline to ImeTextSpan
https://chromium-review.googlesource.com/609524
This commit is contained in:
committed by
Cheng Zhao
parent
024f84f1be
commit
b02edd014a
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user