From b5da1313033925ddb165db0a2d800beb6d77e75f Mon Sep 17 00:00:00 2001 From: Gregory Moore Date: Fri, 2 Sep 2016 15:22:09 -0700 Subject: [PATCH] Bug 1298709 - Remove redundant call of get() on smart pointer in nsCategoryManager.cpp. r=froydnj --- xpcom/components/nsCategoryManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xpcom/components/nsCategoryManager.cpp b/xpcom/components/nsCategoryManager.cpp index b8c543dc1170..527c78719053 100644 --- a/xpcom/components/nsCategoryManager.cpp +++ b/xpcom/components/nsCategoryManager.cpp @@ -471,7 +471,7 @@ nsCategoryManager::SizeOfIncludingThis(mozilla::MallocSizeOf aMallocSizeOf) n += mTable.ShallowSizeOfExcludingThis(aMallocSizeOf); for (auto iter = mTable.ConstIter(); !iter.Done(); iter.Next()) { // We don't measure the key string because it's a non-owning pointer. - n += iter.Data().get()->SizeOfExcludingThis(aMallocSizeOf); + n += iter.Data()->SizeOfExcludingThis(aMallocSizeOf); } return n;