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

Unified Diff: third_party/WebKit/Source/core/page/FocusController.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/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;
}
« no previous file with comments | « third_party/WebKit/Source/core/page/DragController.cpp ('k') | third_party/WebKit/Source/core/page/FrameTree.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698