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

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXObject.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/modules/accessibility/AXObject.cpp
diff --git a/third_party/WebKit/Source/modules/accessibility/AXObject.cpp b/third_party/WebKit/Source/modules/accessibility/AXObject.cpp
index 6f074286088b6063a842fdcb80589590306b4608..caced17daedd2333f2ffc2d5353fb6dfe93ce29a 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXObject.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXObject.cpp
@@ -677,8 +677,9 @@ String AXObject::name(AXNameFrom& nameFrom,
&relatedObjects, nullptr);
AccessibilityRole role = roleValue();
- if (!getNode() || (!isHTMLBRElement(getNode()) && role != StaticTextRole &&
- role != InlineTextBoxRole))
+ if (!getNode() ||
+ (!isHTMLBRElement(getNode()) && role != StaticTextRole &&
+ role != InlineTextBoxRole))
text = collapseWhitespace(text);
if (nameObjects) {

Powered by Google App Engine
This is Rietveld 408576698