Bug 880754 - Remove unused PointerSet typedef. r=khuey
authorAndrew McCreight <amccreight@mozilla.com>
Mon, 10 Jun 2013 10:12:17 -0700
changeset 146344 9a8aaf2a65c6a39e9c1b91f684a64d0eae50fade
parent 146343 a4d5dc4a4c3667b1115448630e30484b0f42f4b3
child 146345 49bfc8c66720d5c9e65dccdc6facaa297844197c
push id2697
push userbbajaj@mozilla.com
push dateMon, 05 Aug 2013 18:49:53 +0000
treeherdermozilla-beta@dfec938c7b63 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskhuey
bugs880754
milestone24.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 880754 - Remove unused PointerSet typedef. r=khuey
xpcom/base/nsCycleCollector.cpp
--- a/xpcom/base/nsCycleCollector.cpp
+++ b/xpcom/base/nsCycleCollector.cpp
@@ -630,20 +630,16 @@ struct GCGraph
         *aNodesSize = mNodes.SizeOfExcludingThis(aMallocSizeOf);
         *aEdgesSize = mEdges.SizeOfExcludingThis(aMallocSizeOf);
 
         // These fields are deliberately not measured:
         // - mWeakMaps entries, because the pointers are non-owning
     }
 };
 
-// XXX Would be nice to have an nsHashSet<KeyType> API that has
-// Add/Remove/Has rather than PutEntry/RemoveEntry/GetEntry.
-typedef nsTHashtable<nsPtrHashKey<const void> > PointerSet;
-
 static nsISupports *
 CanonicalizeXPCOMParticipant(nsISupports *in)
 {
     nsISupports* out;
     in->QueryInterface(NS_GET_IID(nsCycleCollectionISupports),
                        reinterpret_cast<void**>(&out));
     return out;
 }