| 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(
|
|
|