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

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

Issue 2627103003: [EditCommandSource] Pass source through |CompositeEditCommand| ctor instead of |apply(source)| (Closed)
Patch Set: Created 3 years, 11 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 41c618c5c6bbb8b0c6accd425a9a362367c04581..e79796d094c409fa30dd75f4092dec0607c1e081 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, EditCommandSource 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