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

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

Issue 2574793002: [Editing] Store |CommandSource| in |CompositeEditCommand| (Closed)
Patch Set: Created 4 years 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 41c618c5c6bbb8b0c6accd425a9a362367c04581..a06c2b297c8dd221f4edc3703cd76e845f18469a 100644
--- a/third_party/WebKit/Source/core/editing/commands/UnlinkCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/UnlinkCommand.cpp
@@ -29,8 +29,8 @@
namespace blink {
-UnlinkCommand::UnlinkCommand(Document& document)
- : CompositeEditCommand(document) {}
+UnlinkCommand::UnlinkCommand(Document& document, CommandSource source)
+ : CompositeEditCommand(document, source) {}
void UnlinkCommand::doApply(EditingState* editingState) {
// FIXME: If a caret is inside a link, we should remove it, but currently we

Powered by Google App Engine
This is Rietveld 408576698