| Index: third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp b/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
|
| index 097528b5e76d2d0c1d251d39078e71e25bc53f70..05bf1660efcd2c433db0e496bcbd43d6ad3dac5d 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
|
| @@ -593,9 +593,10 @@ static bool executeDelete(LocalFrame& frame,
|
| // time, siding with IE, not Firefox).
|
| DCHECK(frame.document());
|
| TypingCommand::deleteKeyPressed(
|
| - *frame.document(), frame.selection().granularity() == WordGranularity
|
| - ? TypingCommand::SmartDelete
|
| - : 0);
|
| + *frame.document(),
|
| + frame.selection().granularity() == WordGranularity
|
| + ? TypingCommand::SmartDelete
|
| + : 0);
|
| return true;
|
| }
|
| NOTREACHED();
|
| @@ -884,9 +885,9 @@ static bool executeInsertNewline(LocalFrame& frame,
|
| const String&) {
|
| LocalFrame* targetFrame = blink::targetFrame(frame, event);
|
| return targetFrame->eventHandler().handleTextInputEvent(
|
| - "\n", event, targetFrame->editor().canEditRichly()
|
| - ? TextEventInputKeyboard
|
| - : TextEventInputLineBreak);
|
| + "\n", event,
|
| + targetFrame->editor().canEditRichly() ? TextEventInputKeyboard
|
| + : TextEventInputLineBreak);
|
| }
|
|
|
| static bool executeInsertNewlineInQuotedContent(LocalFrame& frame,
|
|
|