OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. | 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 163 matching lines...) Loading... |
174 return get<keyMatchesLowercasedMapName>(key, scope); | 174 return get<keyMatchesLowercasedMapName>(key, scope); |
175 } | 175 } |
176 | 176 |
177 Element* DocumentOrderedMap::getElementByLabelForAttribute(StringImpl* key, cons
t TreeScope* scope) const | 177 Element* DocumentOrderedMap::getElementByLabelForAttribute(StringImpl* key, cons
t TreeScope* scope) const |
178 { | 178 { |
179 return get<keyMatchesLabelForAttribute>(key, scope); | 179 return get<keyMatchesLabelForAttribute>(key, scope); |
180 } | 180 } |
181 | 181 |
182 void DocumentOrderedMap::trace(Visitor* visitor) | 182 void DocumentOrderedMap::trace(Visitor* visitor) |
183 { | 183 { |
184 #if ENABLE(OILPAN) | |
185 visitor->trace(m_map); | 184 visitor->trace(m_map); |
186 #endif | |
187 } | 185 } |
188 | 186 |
189 void DocumentOrderedMap::MapEntry::trace(Visitor* visitor) | 187 void DocumentOrderedMap::MapEntry::trace(Visitor* visitor) |
190 { | 188 { |
191 visitor->trace(element); | 189 visitor->trace(element); |
192 #if ENABLE(OILPAN) | 190 #if ENABLE(OILPAN) |
193 visitor->trace(orderedList); | 191 visitor->trace(orderedList); |
194 #endif | 192 #endif |
195 } | 193 } |
196 | 194 |
197 } // namespace blink | 195 } // namespace blink |
OLD | NEW |