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

Unified Diff: third_party/WebKit/Source/core/editing/PendingSelection.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/PendingSelection.cpp
diff --git a/third_party/WebKit/Source/core/editing/PendingSelection.cpp b/third_party/WebKit/Source/core/editing/PendingSelection.cpp
index da2ae734d4a63734c3ea40430f1ee0d54ef9e463..c703b94d442770e2345c0f69dbff30e6e3605c0f 100644
--- a/third_party/WebKit/Source/core/editing/PendingSelection.cpp
+++ b/third_party/WebKit/Source/core/editing/PendingSelection.cpp
@@ -79,9 +79,9 @@ VisibleSelectionInFlatTree PendingSelection::calcVisibleSelection(
}
const VisiblePositionInFlatTree& visibleStart = createVisiblePosition(
- start, selectionType == SelectionType::RangeSelection
- ? TextAffinity::Downstream
- : affinity);
+ start,
+ selectionType == SelectionType::RangeSelection ? TextAffinity::Downstream
+ : affinity);
if (visibleStart.isNull())
return VisibleSelectionInFlatTree();
if (paintBlockCursor) {
@@ -94,10 +94,10 @@ VisibleSelectionInFlatTree PendingSelection::calcVisibleSelection(
builder.extend(visibleExtent.deepEquivalent());
return createVisibleSelection(builder.build());
}
- const VisiblePositionInFlatTree visibleEnd =
- createVisiblePosition(end, selectionType == SelectionType::RangeSelection
- ? TextAffinity::Upstream
- : affinity);
+ const VisiblePositionInFlatTree visibleEnd = createVisiblePosition(
+ end,
+ selectionType == SelectionType::RangeSelection ? TextAffinity::Upstream
+ : affinity);
if (visibleEnd.isNull())
return VisibleSelectionInFlatTree();
SelectionInFlatTree::Builder builder;

Powered by Google App Engine
This is Rietveld 408576698