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

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

Issue 2636043002: Revert of [EditCommandSource] Pass source to |CompositEditCommand| and |TypingCommand| (3/3) (Closed)
Patch Set: Remove command source in ApplyStyleCommandTest.cpp 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/ApplyStyleCommandTest.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommandTest.cpp b/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommandTest.cpp
index 5357b8e35e2e444e785e6b943538fe652c855396..24af3cb09f524604e09a4fcdacdeb2f89d01a4fb 100644
--- a/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommandTest.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommandTest.cpp
@@ -44,7 +44,7 @@ TEST_F(ApplyStyleCommandTest, RemoveRedundantBlocksWithStarEditableStyle) {
ApplyStyleCommand::create(document(), EditingStyle::create(style),
InputEvent::InputType::FormatJustifyCenter,
ApplyStyleCommand::ForceBlockProperties)
- ->apply(EditCommandSource::kDOM);
+ ->apply();
// Shouldn't crash.
}

Powered by Google App Engine
This is Rietveld 408576698