Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Unified Diff: third_party/WebKit/Source/web/tests/WebViewTest.cpp

Issue 2530843003: Introduce InsertIncrementalTextCommand to respect existing style for composition (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/tests/WebViewTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/WebViewTest.cpp b/third_party/WebKit/Source/web/tests/WebViewTest.cpp
index 3cb8d703df557a0d9e11c8eb3c091be0f6efc834..0dca2ad79f28887c986ec20e3e4fdb86d03ec27d 100644
--- a/third_party/WebKit/Source/web/tests/WebViewTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebViewTest.cpp
@@ -1280,7 +1280,7 @@ TEST_P(WebViewTest, FinishCompositionDoesNotRevealSelection) {
Vector<CompositionUnderline> emptyUnderlines;
WebLocalFrameImpl* frame = webView->mainFrameImpl();
frame->frame()->inputMethodController().setCompositionFromExistingText(
yabinh 2016/11/25 04:36:27 Note that the parameter is the composition range.
- emptyUnderlines, 3, 3);
+ emptyUnderlines, 0, 3);
// Scroll the input field out of the viewport.
Element* element = static_cast<Element*>(

Powered by Google App Engine
This is Rietveld 408576698