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

Unified Diff: third_party/WebKit/Source/core/editing/commands/ReplaceNodeWithSpanCommand.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/ReplaceNodeWithSpanCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/ReplaceNodeWithSpanCommand.cpp b/third_party/WebKit/Source/core/editing/commands/ReplaceNodeWithSpanCommand.cpp
index 239bf25bde3984668679bf0b269a5cb36d7a96e6..168868f1e7405f3b23d5f1d8e02850437f4701d3 100644
--- a/third_party/WebKit/Source/core/editing/commands/ReplaceNodeWithSpanCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/ReplaceNodeWithSpanCommand.cpp
@@ -58,7 +58,8 @@ static void swapInNodePreservingAttributesAndChildren(
for (const auto& child : children)
newElement->appendChild(child);
- // FIXME: Fix this to send the proper MutationRecords when MutationObservers are present.
+ // FIXME: Fix this to send the proper MutationRecords when MutationObservers
+ // are present.
newElement->cloneDataFromElement(elementToReplace);
parentNode->removeChild(&elementToReplace, ASSERT_NO_EXCEPTION);

Powered by Google App Engine
This is Rietveld 408576698