Index: third_party/WebKit/Source/core/page/FocusController.cpp |
diff --git a/third_party/WebKit/Source/core/page/FocusController.cpp b/third_party/WebKit/Source/core/page/FocusController.cpp |
index 110d8bf12a8de8c3fa4cf6a7c0088d3b2008b582..18dade7e5a6c5f38685411343ac165bbd0a3345f 100644 |
--- a/third_party/WebKit/Source/core/page/FocusController.cpp |
+++ b/third_party/WebKit/Source/core/page/FocusController.cpp |
@@ -207,8 +207,9 @@ void ScopedFocusNavigation::moveToFirst() { |
Element* first = m_rootNode->isElementNode() |
? &toElement(*m_rootNode) |
: ElementTraversal::next(*m_rootNode); |
- while (first && (SlotScopedTraversal::isSlotScoped(*first) || |
- ScopedFocusNavigation::isSlotFallbackScoped(*first))) |
+ while (first && |
+ (SlotScopedTraversal::isSlotScoped(*first) || |
+ ScopedFocusNavigation::isSlotFallbackScoped(*first))) |
first = ElementTraversal::next(*first, m_rootNode); |
m_current = first; |
} |
@@ -228,8 +229,9 @@ void ScopedFocusNavigation::moveToLast() { |
} |
} else { |
Element* last = ElementTraversal::lastWithin(*m_rootNode); |
- while (last && (SlotScopedTraversal::isSlotScoped(*last) || |
- ScopedFocusNavigation::isSlotFallbackScoped(*last))) |
+ while (last && |
+ (SlotScopedTraversal::isSlotScoped(*last) || |
+ ScopedFocusNavigation::isSlotFallbackScoped(*last))) |
last = ElementTraversal::previous(*last, m_rootNode); |
m_current = last; |
} |