@@ -42,22 +42,22 @@ namespace WebCore {
42
42
43
43
using namespace HTMLNames ;
44
44
45
- inline bool keyMatchesId (AtomicStringImpl * key, Element* element)
45
+ inline bool keyMatchesId (StringImpl * key, Element* element)
46
46
{
47
47
return element->getIdAttribute ().impl () == key;
48
48
}
49
49
50
- inline bool keyMatchesMapName (AtomicStringImpl * key, Element* element)
50
+ inline bool keyMatchesMapName (StringImpl * key, Element* element)
51
51
{
52
52
return element->hasTagName (mapTag) && toHTMLMapElement (element)->getName ().impl () == key;
53
53
}
54
54
55
- inline bool keyMatchesLowercasedMapName (AtomicStringImpl * key, Element* element)
55
+ inline bool keyMatchesLowercasedMapName (StringImpl * key, Element* element)
56
56
{
57
57
return element->hasTagName (mapTag) && toHTMLMapElement (element)->getName ().lower ().impl () == key;
58
58
}
59
59
60
- inline bool keyMatchesLabelForAttribute (AtomicStringImpl * key, Element* element)
60
+ inline bool keyMatchesLabelForAttribute (StringImpl * key, Element* element)
61
61
{
62
62
return isHTMLLabelElement (element) && element->getAttribute (forAttr).impl () == key;
63
63
}
@@ -68,7 +68,7 @@ void DocumentOrderedMap::clear()
68
68
m_duplicateCounts.clear ();
69
69
}
70
70
71
- void DocumentOrderedMap::add (AtomicStringImpl * key, Element* element)
71
+ void DocumentOrderedMap::add (StringImpl * key, Element* element)
72
72
{
73
73
ASSERT (key);
74
74
ASSERT (element);
@@ -98,7 +98,7 @@ void DocumentOrderedMap::add(AtomicStringImpl* key, Element* element)
98
98
m_duplicateCounts.add (key);
99
99
}
100
100
101
- void DocumentOrderedMap::remove (AtomicStringImpl * key, Element* element)
101
+ void DocumentOrderedMap::remove (StringImpl * key, Element* element)
102
102
{
103
103
ASSERT (key);
104
104
ASSERT (element);
@@ -111,8 +111,8 @@ void DocumentOrderedMap::remove(AtomicStringImpl* key, Element* element)
111
111
m_duplicateCounts.remove (key);
112
112
}
113
113
114
- template <bool keyMatches (AtomicStringImpl *, Element*)>
115
- inline Element* DocumentOrderedMap::get(AtomicStringImpl * key, const TreeScope* scope) const
114
+ template <bool keyMatches (StringImpl *, Element*)>
115
+ inline Element* DocumentOrderedMap::get(StringImpl * key, const TreeScope* scope) const
116
116
{
117
117
ASSERT (key);
118
118
ASSERT (scope);
@@ -138,22 +138,22 @@ inline Element* DocumentOrderedMap::get(AtomicStringImpl* key, const TreeScope*
138
138
return 0 ;
139
139
}
140
140
141
- Element* DocumentOrderedMap::getElementById (AtomicStringImpl * key, const TreeScope* scope) const
141
+ Element* DocumentOrderedMap::getElementById (StringImpl * key, const TreeScope* scope) const
142
142
{
143
143
return get<keyMatchesId>(key, scope);
144
144
}
145
145
146
- Element* DocumentOrderedMap::getElementByMapName (AtomicStringImpl * key, const TreeScope* scope) const
146
+ Element* DocumentOrderedMap::getElementByMapName (StringImpl * key, const TreeScope* scope) const
147
147
{
148
148
return get<keyMatchesMapName>(key, scope);
149
149
}
150
150
151
- Element* DocumentOrderedMap::getElementByLowercasedMapName (AtomicStringImpl * key, const TreeScope* scope) const
151
+ Element* DocumentOrderedMap::getElementByLowercasedMapName (StringImpl * key, const TreeScope* scope) const
152
152
{
153
153
return get<keyMatchesLowercasedMapName>(key, scope);
154
154
}
155
155
156
- Element* DocumentOrderedMap::getElementByLabelForAttribute (AtomicStringImpl * key, const TreeScope* scope) const
156
+ Element* DocumentOrderedMap::getElementByLabelForAttribute (StringImpl * key, const TreeScope* scope) const
157
157
{
158
158
return get<keyMatchesLabelForAttribute>(key, scope);
159
159
}
0 commit comments