Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Side by Side Diff: third_party/WebKit/Source/wtf/HashCountedSet.h

Issue 1863753002: Remove ENABLE(OILPAN) uses in wtf/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More comment syncing Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/wtf/Deque.h ('k') | third_party/WebKit/Source/wtf/HashMap.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/wtf/Deque.h ('k') | third_party/WebKit/Source/wtf/HashMap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698