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

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

Issue 328243005: Remove attrNodeListMap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: PS1 + minor fixes Created 6 years, 6 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/Attr.cpp ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Element.h
diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h
index 4490a071d1d4ee25a505e783b1575b4d3ae8e3a1..d42509b6f192d48691d4ab3f4e6258de1dc07c48 100644
--- a/Source/core/dom/Element.h
+++ b/Source/core/dom/Element.h
@@ -229,7 +229,7 @@ public:
PassRefPtrWillBeRawPtr<Attr> attrIfExists(const QualifiedName&);
PassRefPtrWillBeRawPtr<Attr> ensureAttr(const QualifiedName&);
- const WillBeHeapVector<RefPtrWillBeMember<Attr> >& attrNodeList();
+ WillBeHeapVector<RefPtrWillBeMember<Attr> >* attrNodeList();
CSSStyleDeclaration* style();
@@ -642,6 +642,8 @@ private:
ElementRareData* elementRareData() const;
ElementRareData& ensureElementRareData();
+ WillBeHeapVector<RefPtrWillBeMember<Attr> >& ensureAttrNodeList();
+ void removeAttrNodeList();
void detachAllAttrNodesFromElement();
void detachAttrNodeFromElementWithValue(Attr*, const AtomicString& value);
void detachAttrNodeAtIndex(Attr*, size_t index);
« no previous file with comments | « Source/core/dom/Attr.cpp ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698