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

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

Issue 1979843002: Remove C::swap(C*) where C = Hash{Map,Set}<T>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: HeapTest compile fixes Created 4 years, 7 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
« no previous file with comments | « third_party/WebKit/Source/platform/heap/HeapTest.cpp ('k') | third_party/WebKit/Source/wtf/HashSet.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/HashMap.h
diff --git a/third_party/WebKit/Source/wtf/HashMap.h b/third_party/WebKit/Source/wtf/HashMap.h
index 16efe2fa998e145d841b8bc0ad92343339323dc5..77a1a3b1dfc2533cb723b0999cc0facde699e123 100644
--- a/third_party/WebKit/Source/wtf/HashMap.h
+++ b/third_party/WebKit/Source/wtf/HashMap.h
@@ -81,12 +81,6 @@ public:
m_impl.swap(ref.m_impl);
}
- void swap(typename Allocator::template OtherType<HashMap>::Type other)
- {
- HashMap& ref = Allocator::getOther(other);
- m_impl.swap(ref.m_impl);
- }
-
unsigned size() const;
unsigned capacity() const;
void reserveCapacityForSize(unsigned size)
« no previous file with comments | « third_party/WebKit/Source/platform/heap/HeapTest.cpp ('k') | third_party/WebKit/Source/wtf/HashSet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698