summaryrefslogtreecommitdiffstats
path: root/xpcom/ds
diff options
context:
space:
mode:
Diffstat (limited to 'xpcom/ds')
-rw-r--r--xpcom/ds/nsAtomTable.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/xpcom/ds/nsAtomTable.cpp b/xpcom/ds/nsAtomTable.cpp
index c63676455..4c93625ae 100644
--- a/xpcom/ds/nsAtomTable.cpp
+++ b/xpcom/ds/nsAtomTable.cpp
@@ -368,7 +368,6 @@ static const PLDHashTableOps AtomTableOps = {
static nsIAtom*
sRecentlyUsedMainThreadAtoms[RECENTLY_USED_MAIN_THREAD_ATOM_CACHE_SIZE] = {};
-
void
DynamicAtom::GCAtomTable()
{
@@ -388,7 +387,6 @@ DynamicAtom::GCAtomTableLocked(const MutexAutoLock& aProofOfLock,
sRecentlyUsedMainThreadAtoms[i] = nullptr;
}
-
uint32_t removedCount = 0; // Use a non-atomic temporary for cheaper increments.
nsAutoCString nonZeroRefcountAtoms;
uint32_t nonZeroRefcountAtomsCount = 0;
@@ -687,8 +685,6 @@ NS_Atomize(const nsACString& aUTF8String)
return atom.forget();
}
-
-
// This results in an extra addref/release of the nsStringBuffer.
// Unfortunately there doesn't seem to be any APIs to avoid that.
// Actually, now there is, sort of: ForgetSharedBuffer.