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

Unified Diff: Source/core/dom/Element.cpp

Issue 1006723003: Fix template angle bracket syntax in dom (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « Source/core/dom/DocumentStyleSheetCollector.cpp ('k') | Source/core/dom/ElementRareData.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Element.cpp
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
index 6cffdfffd94cedcf11e41510ef3ce289e93b8e6b..e2ecccf61c2d5dbc2daaec54dc3e5c07ba06eee8 100644
--- a/Source/core/dom/Element.cpp
+++ b/Source/core/dom/Element.cpp
@@ -130,7 +130,7 @@ namespace blink {
using namespace HTMLNames;
using namespace XMLNames;
-typedef WillBeHeapVector<RefPtrWillBeMember<Attr> > AttrNodeList;
+typedef WillBeHeapVector<RefPtrWillBeMember<Attr>> AttrNodeList;
static Attr* findAttrNodeInList(const AttrNodeList& attrNodeList, const QualifiedName& name)
{
@@ -1903,7 +1903,7 @@ WillBeHeapVector<RefPtrWillBeMember<Attr>>* Element::attrNodeList()
return hasRareData() ? elementRareData()->attrNodeList() : nullptr;
}
-WillBeHeapVector<RefPtrWillBeMember<Attr> >& Element::ensureAttrNodeList()
+WillBeHeapVector<RefPtrWillBeMember<Attr>>& Element::ensureAttrNodeList()
{
setHasSyntheticAttrChildNodes(true);
return ensureElementRareData().ensureAttrNodeList();
@@ -2587,13 +2587,13 @@ void Element::normalizeAttributes()
{
if (!hasAttributes())
return;
- WillBeHeapVector<RefPtrWillBeMember<Attr> >* attrNodes = attrNodeList();
+ WillBeHeapVector<RefPtrWillBeMember<Attr>>* attrNodes = attrNodeList();
if (!attrNodes)
return;
// Copy the Attr Vector because Node::normalize() can fire synchronous JS
// events (e.g. DOMSubtreeModified) and a JS listener could add / remove
// attributes while we are iterating.
- WillBeHeapVector<RefPtrWillBeMember<Attr> > attrNodesCopy(*attrNodes);
+ WillBeHeapVector<RefPtrWillBeMember<Attr>> attrNodesCopy(*attrNodes);
for (size_t i = 0; i < attrNodesCopy.size(); ++i)
attrNodesCopy[i]->normalize();
}
« no previous file with comments | « Source/core/dom/DocumentStyleSheetCollector.cpp ('k') | Source/core/dom/ElementRareData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698