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

Unified Diff: third_party/WebKit/Source/core/editing/SurroundingText.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/SurroundingText.cpp
diff --git a/third_party/WebKit/Source/core/editing/SurroundingText.cpp b/third_party/WebKit/Source/core/editing/SurroundingText.cpp
index 40a0ace8b6efb2942aba1b692e31f0ea519d4721..320f7e36b8e61cec56b346d78fb7d9417b19a618 100644
--- a/third_party/WebKit/Source/core/editing/SurroundingText.cpp
+++ b/third_party/WebKit/Source/core/editing/SurroundingText.cpp
@@ -66,8 +66,9 @@ void SurroundingText::initialize(const Position& startPosition,
// end. It will then be updated to only contain the text in the text in the
// right range around the selection.
CharacterIterator forwardIterator(
- endPosition, Position::lastPositionInNode(document->documentElement())
- .parentAnchoredEquivalent(),
+ endPosition,
+ Position::lastPositionInNode(document->documentElement())
+ .parentAnchoredEquivalent(),
TextIteratorBehavior::Builder().setStopsOnFormControls(true).build());
// FIXME: why do we stop going trough the text if we were not able to select
// something on the right?

Powered by Google App Engine
This is Rietveld 408576698