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

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

Issue 1679253002: Editing: Add EditingState* argument to EditCommand::doApply. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 029da6ab85ef8d76147675fc4e1f8ae70882ae45..31e8423c27ccbf3f7bcc287dba65480b94b034f9 100644
--- a/third_party/WebKit/Source/core/editing/commands/ReplaceNodeWithSpanCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/ReplaceNodeWithSpanCommand.cpp
@@ -65,7 +65,7 @@ static void swapInNodePreservingAttributesAndChildren(HTMLElement* newElement, H
parentNode->removeChild(&elementToReplace, ASSERT_NO_EXCEPTION);
}
-void ReplaceNodeWithSpanCommand::doApply()
+void ReplaceNodeWithSpanCommand::doApply(EditingState*)
{
if (!m_elementToReplace->inDocument())
return;

Powered by Google App Engine
This is Rietveld 408576698