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) { |