| 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..0e4009f82ab484df2fd956c0ec4899e2f64e51ea 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommandTest.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommandTest.cpp
|
| @@ -41,10 +41,11 @@ TEST_F(ApplyStyleCommandTest, RemoveRedundantBlocksWithStarEditableStyle) {
|
| MutableStylePropertySet* style =
|
| MutableStylePropertySet::create(HTMLQuirksMode);
|
| style->setProperty(CSSPropertyTextAlign, "center");
|
| - ApplyStyleCommand::create(document(), EditingStyle::create(style),
|
| + ApplyStyleCommand::create(document(), EditCommandSource::kDOM,
|
| + EditingStyle::create(style),
|
| InputEvent::InputType::FormatJustifyCenter,
|
| ApplyStyleCommand::ForceBlockProperties)
|
| - ->apply(EditCommandSource::kDOM);
|
| + ->apply();
|
| // Shouldn't crash.
|
| }
|
|
|
|
|