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

Unified Diff: third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp

Issue 2399663003: Reflow comments in //third_party/WebKit/Source/core/editing (Closed)
Patch Set: Created 4 years, 2 months 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/core/editing/InputMethodControllerTest.cpp
diff --git a/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp b/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp
index 099875ac5ad6cf4845837a9fd1fa87a20d964465..833bc94aadf236d12ab870395481fc1d0a14bea5 100644
--- a/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp
+++ b/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp
@@ -85,8 +85,8 @@ TEST_F(InputMethodControllerTest, BackspaceFromEndOfInput) {
controller().extendSelectionAndDelete(1, 0);
EXPECT_STREQ("foo", input->value().utf8().data());
- input->setValue(String::fromUTF8(
- "foo\xE0\xB8\x81\xE0\xB9\x89")); // composed U+0E01 "ka kai" + U+0E49 "mai tho"
+ // composed U+0E01 "ka kai" + U+0E49 "mai tho"
+ input->setValue(String::fromUTF8("foo\xE0\xB8\x81\xE0\xB9\x89"));
document().updateStyleAndLayout();
controller().setEditableSelectionOffsets(PlainTextRange(4, 4));
EXPECT_STREQ("foo\xE0\xB8\x81\xE0\xB9\x89", input->value().utf8().data());
@@ -261,7 +261,8 @@ TEST_F(InputMethodControllerTest, SetCompositionForInputWithNewCaretPositions) {
TEST_F(InputMethodControllerTest,
SetCompositionForContentEditableWithNewCaretPositions) {
- // There are 7 nodes and 5+1+5+1+3+4+3 characters: "hello", '\n', "world", "\n", "012", "3456", "789".
+ // There are 7 nodes and 5+1+5+1+3+4+3 characters: "hello", '\n', "world",
+ // "\n", "012", "3456", "789".
Element* div = insertHTMLElement(
"<div id='sample' contenteditable='true'>"
"hello"

Powered by Google App Engine
This is Rietveld 408576698