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

Unified Diff: third_party/WebKit/Source/core/editing/commands/RemoveFormatCommand.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/RemoveFormatCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/RemoveFormatCommand.cpp b/third_party/WebKit/Source/core/editing/commands/RemoveFormatCommand.cpp
index 96197db84e0f39de0322b6cb186301996c1788f1..eeea0f8057df83f97ea3523a6ed25b2fbd61860d 100644
--- a/third_party/WebKit/Source/core/editing/commands/RemoveFormatCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/RemoveFormatCommand.cpp
@@ -40,8 +40,9 @@ namespace blink {
using namespace HTMLNames;
-RemoveFormatCommand::RemoveFormatCommand(Document& document)
- : CompositeEditCommand(document) {}
+RemoveFormatCommand::RemoveFormatCommand(Document& document,
+ EditCommandSource source)
+ : CompositeEditCommand(document, source) {}
static bool isElementForRemoveFormatCommand(const Element* element) {
DEFINE_STATIC_LOCAL(

Powered by Google App Engine
This is Rietveld 408576698