| Index: third_party/WebKit/Source/core/editing/commands/ApplyBlockElementCommandTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/ApplyBlockElementCommandTest.cpp b/third_party/WebKit/Source/core/editing/commands/ApplyBlockElementCommandTest.cpp
|
| index cd06bf1b9df21a2f69961c1c17857b7a5021ba1e..2aa25db9dac0b31e1f68d24041b55c3996b13cbf 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/ApplyBlockElementCommandTest.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/ApplyBlockElementCommandTest.cpp
|
| @@ -44,8 +44,8 @@ TEST_F(ApplyBlockElementCommandTest, selectionCrossingOverBody) {
|
| Position(document().getElementById("va")->firstChild(), 2))
|
| .build());
|
|
|
| - FormatBlockCommand* command =
|
| - FormatBlockCommand::create(document(), HTMLNames::footerTag);
|
| + FormatBlockCommand* command = FormatBlockCommand::create(
|
| + document(), CommandSource::MenuOrKeyBinding, HTMLNames::footerTag);
|
| command->apply();
|
|
|
| EXPECT_EQ(
|
| @@ -69,7 +69,8 @@ TEST_F(ApplyBlockElementCommandTest, visibilityChangeDuringCommand) {
|
| .build());
|
|
|
| IndentOutdentCommand* command =
|
| - IndentOutdentCommand::create(document(), IndentOutdentCommand::Indent);
|
| + IndentOutdentCommand::create(document(), CommandSource::MenuOrKeyBinding,
|
| + IndentOutdentCommand::Indent);
|
| command->apply();
|
|
|
| EXPECT_EQ(
|
|
|