| 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...) Expand 10 before | Expand all | Expand 10 after 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) |
| 184 visitor->trace(m_map); | 185 visitor->trace(m_map); |
| 186 #endif |
| 185 } | 187 } |
| 186 | 188 |
| 187 void DocumentOrderedMap::MapEntry::trace(Visitor* visitor) | 189 void DocumentOrderedMap::MapEntry::trace(Visitor* visitor) |
| 188 { | 190 { |
| 189 visitor->trace(element); | 191 visitor->trace(element); |
| 190 #if ENABLE(OILPAN) | 192 #if ENABLE(OILPAN) |
| 191 visitor->trace(orderedList); | 193 visitor->trace(orderedList); |
| 192 #endif | 194 #endif |
| 193 } | 195 } |
| 194 | 196 |
| 195 } // namespace blink | 197 } // namespace blink |
| OLD | NEW |