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

Unified Diff: third_party/WebKit/Source/core/dom/TreeScope.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/dom/TreeScope.cpp
diff --git a/third_party/WebKit/Source/core/dom/TreeScope.cpp b/third_party/WebKit/Source/core/dom/TreeScope.cpp
index 20c0f87fd42016a62c2ce63a050c633b8c3ad7d7..8d2627c21381408d8ed57a24014dfef08c168f1b 100644
--- a/third_party/WebKit/Source/core/dom/TreeScope.cpp
+++ b/third_party/WebKit/Source/core/dom/TreeScope.cpp
@@ -447,11 +447,10 @@ unsigned short TreeScope::comparePosition(const TreeScope& otherScope) const {
// There was no difference between the two parent chains, i.e., one was a
// subset of the other. The shorter chain is the ancestor.
- return index1 < index2
- ? Node::kDocumentPositionFollowing |
- Node::kDocumentPositionContainedBy
- : Node::kDocumentPositionPreceding |
- Node::kDocumentPositionContains;
+ return index1 < index2 ? Node::kDocumentPositionFollowing |
+ Node::kDocumentPositionContainedBy
+ : Node::kDocumentPositionPreceding |
+ Node::kDocumentPositionContains;
}
const TreeScope* TreeScope::commonAncestorTreeScope(
« no previous file with comments | « third_party/WebKit/Source/core/dom/Text.cpp ('k') | third_party/WebKit/Source/core/dom/ViewportDescription.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698