| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2005, 2006, 2007, 2008, 2011, 2012 Apple Inc. All rights | 2 * Copyright (C) 2005, 2006, 2007, 2008, 2011, 2012 Apple Inc. All rights |
| 3 * reserved. | 3 * reserved. |
| 4 * Copyright (C) 2008 David Levin <levin@chromium.org> | 4 * Copyright (C) 2008 David Levin <levin@chromium.org> |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 2259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2270 if (collection.IsEmpty() || to_be_removed.IsEmpty()) | 2270 if (collection.IsEmpty() || to_be_removed.IsEmpty()) |
| 2271 return; | 2271 return; |
| 2272 typedef typename Collection2::const_iterator CollectionIterator; | 2272 typedef typename Collection2::const_iterator CollectionIterator; |
| 2273 CollectionIterator end(to_be_removed.end()); | 2273 CollectionIterator end(to_be_removed.end()); |
| 2274 for (CollectionIterator it(to_be_removed.begin()); it != end; ++it) | 2274 for (CollectionIterator it(to_be_removed.begin()); it != end; ++it) |
| 2275 collection.erase(*it); | 2275 collection.erase(*it); |
| 2276 } | 2276 } |
| 2277 | 2277 |
| 2278 } // namespace WTF | 2278 } // namespace WTF |
| 2279 | 2279 |
| 2280 #include "wtf/HashIterators.h" | 2280 #include "platform/wtf/HashIterators.h" |
| 2281 | 2281 |
| 2282 #endif // WTF_HashTable_h | 2282 #endif // WTF_HashTable_h |
| OLD | NEW |