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

Unified Diff: Source/modules/accessibility/AXNodeObject.cpp

Issue 864533002: Fix template angle bracket syntax in modules (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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: Source/modules/accessibility/AXNodeObject.cpp
diff --git a/Source/modules/accessibility/AXNodeObject.cpp b/Source/modules/accessibility/AXNodeObject.cpp
index f4f3b8b0c6f6a459c22dd49a70d6b158420d8d49..21bb286be61add52901ab5ba347ccb714d50dca6 100644
--- a/Source/modules/accessibility/AXNodeObject.cpp
+++ b/Source/modules/accessibility/AXNodeObject.cpp
@@ -97,7 +97,7 @@ static String accessibleNameForNode(Node* node)
return String();
}
-String AXNodeObject::accessibilityDescriptionForElements(WillBeHeapVector<RawPtrWillBeMember<Element> > &elements) const
+String AXNodeObject::accessibilityDescriptionForElements(WillBeHeapVector<RawPtrWillBeMember<Element>> &elements) const
{
StringBuilder builder;
unsigned size = elements.size();
@@ -139,7 +139,7 @@ String AXNodeObject::ariaAccessibilityDescription() const
}
-void AXNodeObject::ariaLabeledByElements(WillBeHeapVector<RawPtrWillBeMember<Element> >& elements) const
+void AXNodeObject::ariaLabeledByElements(WillBeHeapVector<RawPtrWillBeMember<Element>>& elements) const
{
elementsFromAttribute(elements, aria_labeledbyAttr);
if (!elements.size())
@@ -318,7 +318,7 @@ AccessibilityRole AXNodeObject::determineAriaRoleAttribute() const
return UnknownRole;
}
-void AXNodeObject::elementsFromAttribute(WillBeHeapVector<RawPtrWillBeMember<Element> >& elements, const QualifiedName& attribute) const
+void AXNodeObject::elementsFromAttribute(WillBeHeapVector<RawPtrWillBeMember<Element>>& elements, const QualifiedName& attribute) const
{
Node* node = this->node();
if (!node || !node->isElementNode())
@@ -1180,7 +1180,7 @@ String AXNodeObject::stringValue() const
if (isHTMLSelectElement(*node)) {
HTMLSelectElement& selectElement = toHTMLSelectElement(*node);
int selectedIndex = selectElement.selectedIndex();
- const WillBeHeapVector<RawPtrWillBeMember<HTMLElement> >& listItems = selectElement.listItems();
+ const WillBeHeapVector<RawPtrWillBeMember<HTMLElement>>& listItems = selectElement.listItems();
if (selectedIndex >= 0 && static_cast<size_t>(selectedIndex) < listItems.size()) {
const AtomicString& overriddenDescription = listItems[selectedIndex]->fastGetAttribute(aria_labelAttr);
if (!overriddenDescription.isNull())
@@ -1216,7 +1216,7 @@ const AtomicString& AXNodeObject::textInputType() const
String AXNodeObject::ariaDescribedByAttribute() const
{
- WillBeHeapVector<RawPtrWillBeMember<Element> > elements;
+ WillBeHeapVector<RawPtrWillBeMember<Element>> elements;
elementsFromAttribute(elements, aria_describedbyAttr);
return accessibilityDescriptionForElements(elements);
@@ -1224,7 +1224,7 @@ String AXNodeObject::ariaDescribedByAttribute() const
String AXNodeObject::ariaLabeledByAttribute() const
{
- WillBeHeapVector<RawPtrWillBeMember<Element> > elements;
+ WillBeHeapVector<RawPtrWillBeMember<Element>> elements;
ariaLabeledByElements(elements);
return accessibilityDescriptionForElements(elements);
@@ -1943,7 +1943,7 @@ void AXNodeObject::ariaLabeledByText(Vector<AccessibilityText>& textOrder) const
{
String ariaLabeledBy = ariaLabeledByAttribute();
if (!ariaLabeledBy.isEmpty()) {
- WillBeHeapVector<RawPtrWillBeMember<Element> > elements;
+ WillBeHeapVector<RawPtrWillBeMember<Element>> elements;
ariaLabeledByElements(elements);
unsigned length = elements.size();

Powered by Google App Engine
This is Rietveld 408576698