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

Unified Diff: third_party/WebKit/Source/wtf/HashSet.h

Issue 1477023003: Refactor the Heap into ThreadHeap to prepare for per thread heaps Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/wtf/HashSet.h
diff --git a/third_party/WebKit/Source/wtf/HashSet.h b/third_party/WebKit/Source/wtf/HashSet.h
index cf37e1ac6ededb0a33c4a0b14fce5fe2a2e19c67..edd479a9348cec8bcfca8cd60a94b9788c209c32 100644
--- a/third_party/WebKit/Source/wtf/HashSet.h
+++ b/third_party/WebKit/Source/wtf/HashSet.h
@@ -57,6 +57,8 @@ public:
typedef HashTableConstIteratorAdapter<HashTableType, ValueTraits> const_iterator;
typedef typename HashTableType::AddResult AddResult;
+ ValueType* table() const { return m_impl.table(); }
haraken 2016/01/07 08:06:22 What is this change for?
+
void swap(HashSet& ref)
{
m_impl.swap(ref.m_impl);

Powered by Google App Engine
This is Rietveld 408576698