зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1298709 - Remove redundant call of get() on smart pointer in nsCategoryManager.cpp. r=froydnj
This commit is contained in:
Родитель
e38e936a4e
Коммит
b5da131303
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче