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

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

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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/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,

Powered by Google App Engine
This is Rietveld 408576698