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

Unified Diff: third_party/WebKit/Source/core/editing/commands/UnlinkCommand.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/UnlinkCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/UnlinkCommand.cpp b/third_party/WebKit/Source/core/editing/commands/UnlinkCommand.cpp
index fe7652efc1b4b3f9c360db0e1e17e70a9ff55454..8cccefa61ffae4c81f08034a61efca70ea53c9bc 100644
--- a/third_party/WebKit/Source/core/editing/commands/UnlinkCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/UnlinkCommand.cpp
@@ -34,7 +34,7 @@ UnlinkCommand::UnlinkCommand(Document& document)
{
}
-void UnlinkCommand::doApply()
+void UnlinkCommand::doApply(EditingState*)
{
// FIXME: If a caret is inside a link, we should remove it, but currently we don't.
if (!endingSelection().isNonOrphanedRange())

Powered by Google App Engine
This is Rietveld 408576698