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

Side by Side Diff: third_party/WebKit/Source/wtf/HashMap.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/HashCountedSet.h ('k') | third_party/WebKit/Source/wtf/HashSet.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, 2007, 2008, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2005, 2006, 2007, 2008, 2011 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 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 typedef typename HashMap<T, U, V, W, X, Y>::const_iterator::ValuesIterator i terator; 511 typedef typename HashMap<T, U, V, W, X, Y>::const_iterator::ValuesIterator i terator;
512 512
513 vector.resize(collection.size()); 513 vector.resize(collection.size());
514 514
515 iterator it = collection.begin().values(); 515 iterator it = collection.begin().values();
516 iterator end = collection.end().values(); 516 iterator end = collection.end().values();
517 for (unsigned i = 0; it != end; ++it, ++i) 517 for (unsigned i = 0; it != end; ++it, ++i)
518 vector[i] = *it; 518 vector[i] = *it;
519 } 519 }
520 520
521 #if !ENABLE(OILPAN)
522 template <typename T, typename U, typename V, typename W, typename X>
523 struct NeedsTracing<HashMap<T, U, V, W, X>> {
524 STATIC_ONLY(NeedsTracing);
525 static const bool value = false;
526 };
527 #endif
528
529 } // namespace WTF 521 } // namespace WTF
530 522
531 using WTF::HashMap; 523 using WTF::HashMap;
532 524
533 #endif // WTF_HashMap_h 525 #endif // WTF_HashMap_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/wtf/HashCountedSet.h ('k') | third_party/WebKit/Source/wtf/HashSet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698