| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2005, 2006, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2005, 2006, 2008 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
| 5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
| 6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
| 7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
| 8 * | 8 * |
| 9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 typename Vector<Value, inlineCapacity, VectorAllocator>::GCForbiddenScop
e scope; | 152 typename Vector<Value, inlineCapacity, VectorAllocator>::GCForbiddenScop
e scope; |
| 153 vector.resize(collection.size()); | 153 vector.resize(collection.size()); |
| 154 } | 154 } |
| 155 | 155 |
| 156 iterator it = collection.begin(); | 156 iterator it = collection.begin(); |
| 157 iterator end = collection.end(); | 157 iterator end = collection.end(); |
| 158 for (unsigned i = 0; it != end; ++it, ++i) | 158 for (unsigned i = 0; it != end; ++it, ++i) |
| 159 vector[i] = (*it).key; | 159 vector[i] = (*it).key; |
| 160 } | 160 } |
| 161 | 161 |
| 162 #if !ENABLE(OILPAN) | |
| 163 template <typename T, typename U, typename V> | |
| 164 struct NeedsTracing<HashCountedSet<T, U, V>> { | |
| 165 static const bool value = false; | |
| 166 }; | |
| 167 #endif | |
| 168 | |
| 169 } // namespace WTF | 162 } // namespace WTF |
| 170 | 163 |
| 171 using WTF::HashCountedSet; | 164 using WTF::HashCountedSet; |
| 172 | 165 |
| 173 #endif // WTF_HashCountedSet_h | 166 #endif // WTF_HashCountedSet_h |
| OLD | NEW |