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

Unified Diff: Source/WebCore/dom/NameNodeList.h

Issue 10695128: Merge 120979 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1180/
Patch Set: Created 8 years, 5 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/WebCore/dom/MicroDataItemList.cpp ('k') | Source/WebCore/dom/NameNodeList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/dom/NameNodeList.h
===================================================================
--- Source/WebCore/dom/NameNodeList.h (revision 122245)
+++ Source/WebCore/dom/NameNodeList.h (working copy)
@@ -30,23 +30,23 @@
namespace WebCore {
- // NodeList which lists all Nodes in a Element with a given "name" attribute
- class NameNodeList : public DynamicSubtreeNodeList {
- public:
- static PassRefPtr<NameNodeList> create(PassRefPtr<Node> rootNode, const String& name)
- {
- return adoptRef(new NameNodeList(rootNode, name));
- }
+// NodeList which lists all Nodes in a Element with a given "name" attribute
+class NameNodeList : public DynamicSubtreeNodeList {
+public:
+ static PassRefPtr<NameNodeList> create(PassRefPtr<Node> rootNode, const AtomicString& name)
+ {
+ return adoptRef(new NameNodeList(rootNode, name));
+ }
- virtual ~NameNodeList();
+ virtual ~NameNodeList();
- private:
- NameNodeList(PassRefPtr<Node> rootNode, const String& name);
+private:
+ NameNodeList(PassRefPtr<Node> rootNode, const AtomicString& name);
- virtual bool nodeMatches(Element*) const;
+ virtual bool nodeMatches(Element*) const;
- AtomicString m_nodeName;
- };
+ AtomicString m_name;
+};
} // namespace WebCore
« no previous file with comments | « Source/WebCore/dom/MicroDataItemList.cpp ('k') | Source/WebCore/dom/NameNodeList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698