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

Unified Diff: third_party/WebKit/Source/core/editing/VisibleSelection.h

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/VisibleSelection.h
diff --git a/third_party/WebKit/Source/core/editing/VisibleSelection.h b/third_party/WebKit/Source/core/editing/VisibleSelection.h
index 6da5081cca6cba8d97f0f3f1f333d0fbd9f9d061..a9c113fbfb81f2eeb30fa60876c92add84ab562f 100644
--- a/third_party/WebKit/Source/core/editing/VisibleSelection.h
+++ b/third_party/WebKit/Source/core/editing/VisibleSelection.h
@@ -90,15 +90,17 @@ class CORE_TEMPLATE_CLASS_EXPORT VisibleSelectionTemplate {
}
VisiblePositionTemplate<Strategy> visibleBase() const {
return createVisiblePosition(
- m_base, isRange() ? (isBaseFirst() ? TextAffinity::Upstream
- : TextAffinity::Downstream)
- : affinity());
+ m_base,
+ isRange() ? (isBaseFirst() ? TextAffinity::Upstream
+ : TextAffinity::Downstream)
+ : affinity());
}
VisiblePositionTemplate<Strategy> visibleExtent() const {
- return createVisiblePosition(
- m_extent, isRange() ? (isBaseFirst() ? TextAffinity::Downstream
- : TextAffinity::Upstream)
- : affinity());
+ return createVisiblePosition(m_extent,
+ isRange()
+ ? (isBaseFirst() ? TextAffinity::Downstream
+ : TextAffinity::Upstream)
+ : affinity());
}
bool operator==(const VisibleSelectionTemplate&) const;
« no previous file with comments | « third_party/WebKit/Source/core/editing/SurroundingText.cpp ('k') | third_party/WebKit/Source/core/editing/VisibleUnits.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698