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

Side by Side Diff: third_party/WebKit/Source/wtf/ListHashSet.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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2005, 2006, 2007, 2008, 2011, 2012 Apple Inc. All rights reserv ed. 2 * Copyright (C) 2005, 2006, 2007, 2008, 2011, 2012 Apple Inc. All rights reserv ed.
3 * Copyright (C) 2011, Benjamin Poulain <ikipou@gmail.com> 3 * Copyright (C) 2011, Benjamin Poulain <ikipou@gmail.com>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 1016 matching lines...) Expand 10 before | Expand all | Expand 10 after
1027 template <typename VisitorDispatcher> 1027 template <typename VisitorDispatcher>
1028 void ListHashSet<T, inlineCapacity, U, V>::trace(VisitorDispatcher visitor) 1028 void ListHashSet<T, inlineCapacity, U, V>::trace(VisitorDispatcher visitor)
1029 { 1029 {
1030 static_assert(HashTraits<T>::weakHandlingFlag == NoWeakHandlingInCollections , "ListHashSet does not support weakness"); 1030 static_assert(HashTraits<T>::weakHandlingFlag == NoWeakHandlingInCollections , "ListHashSet does not support weakness");
1031 // This marks all the nodes and their contents live that can be accessed 1031 // This marks all the nodes and their contents live that can be accessed
1032 // through the HashTable. That includes m_head and m_tail so we do not have 1032 // through the HashTable. That includes m_head and m_tail so we do not have
1033 // to explicitly trace them here. 1033 // to explicitly trace them here.
1034 m_impl.trace(visitor); 1034 m_impl.trace(visitor);
1035 } 1035 }
1036 1036
1037 #if !ENABLE(OILPAN)
1038 template <typename T, size_t U, typename V>
1039 struct NeedsTracing<ListHashSet<T, U, V>> {
1040 static const bool value = false;
1041 };
1042 #endif
1043
1044 } // namespace WTF 1037 } // namespace WTF
1045 1038
1046 using WTF::ListHashSet; 1039 using WTF::ListHashSet;
1047 1040
1048 #endif // WTF_ListHashSet_h 1041 #endif // WTF_ListHashSet_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/wtf/LinkedHashSet.h ('k') | third_party/WebKit/Source/wtf/PartitionAlloc.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698