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

Unified Diff: third_party/WebKit/Source/core/editing/commands/InsertListCommandTest.cpp

Issue 2397963002: Reflow comments in //third_party/WebKit/Source/core/editing/commands (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/commands/InsertListCommandTest.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/InsertListCommandTest.cpp b/third_party/WebKit/Source/core/editing/commands/InsertListCommandTest.cpp
index bffbf72f70343df68db8d67a3475abf710a81766..b40897ec7e917cda1e3ea82d94877a50c90223f1 100644
--- a/third_party/WebKit/Source/core/editing/commands/InsertListCommandTest.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/InsertListCommandTest.cpp
@@ -17,7 +17,8 @@ TEST_F(InsertListCommandTest, ShouldCleanlyRemoveSpuriousTextNode) {
// Needs to be editable to use InsertListCommand.
document().setDesignMode("on");
// Set up the condition:
- // * Selection is a range, to go down into InsertListCommand::listifyParagraph.
+ // * Selection is a range, to go down into
+ // InsertListCommand::listifyParagraph.
// * The selection needs to have a sibling list to go down into
// InsertListCommand::mergeWithNeighboringLists.
// * Should be the same type (ordered list) to go into
@@ -26,8 +27,8 @@ TEST_F(InsertListCommandTest, ShouldCleanlyRemoveSpuriousTextNode) {
// in InsertListCommand::doApplyForSingleParagraph.
// * There needs to be an extra text node to trigger its removal in
// CompositeEditCommand::mergeIdenticalElements.
- // The removeNode is what updates document lifecycle to VisualUpdatePending and
- // makes FrameView::needsLayout return true.
+ // The removeNode is what updates document lifecycle to VisualUpdatePending
+ // and makes FrameView::needsLayout return true.
setBodyContent("\nd\n<ol>");
Text* emptyText = document().createTextNode("");
document().body()->insertBefore(emptyText, document().body()->firstChild());

Powered by Google App Engine
This is Rietveld 408576698