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

Unified Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.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/web/WebLocalFrameImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
index 2aef8845c49e0eefc3ecf0704d817dddd0b61b04..3533d200c49504ab5ede49a400be34d991d470d4 100644
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
@@ -581,8 +581,9 @@ bool WebLocalFrameImpl::isFocused() const {
if (!viewImpl() || !viewImpl()->page())
return false;
- return this == WebFrame::fromFrame(
- viewImpl()->page()->focusController().focusedFrame());
+ return this ==
+ WebFrame::fromFrame(
+ viewImpl()->page()->focusController().focusedFrame());
}
WebSize WebLocalFrameImpl::getScrollOffset() const {
@@ -1768,8 +1769,9 @@ void WebLocalFrameImpl::setFindEndstateFocusAndSelection() {
.setBaseAndExtent(activeMatchRange)
.build());
frame()->document()->setFocusedElement(
- &element, FocusParams(SelectionBehaviorOnFocus::None,
- WebFocusTypeNone, nullptr));
+ &element,
+ FocusParams(SelectionBehaviorOnFocus::None, WebFocusTypeNone,
+ nullptr));
return;
}
}
@@ -1784,8 +1786,9 @@ void WebLocalFrameImpl::setFindEndstateFocusAndSelection() {
Element& element = toElement(runner);
if (element.isFocusable()) {
frame()->document()->setFocusedElement(
- &element, FocusParams(SelectionBehaviorOnFocus::None,
- WebFocusTypeNone, nullptr));
+ &element,
+ FocusParams(SelectionBehaviorOnFocus::None, WebFocusTypeNone,
+ nullptr));
return;
}
}
« no previous file with comments | « third_party/WebKit/Source/web/WebFrameSerializer.cpp ('k') | third_party/WebKit/Source/web/WebPagePopupImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698