зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1016123 - Make VectorImage::HeapSizeOfVectorImageDocument include the size of the SVGDocument. r=njn
This commit is contained in:
Родитель
58eea22a12
Коммит
4336a6bfeb
|
@ -412,7 +412,7 @@ VectorImage::HeapSizeOfVectorImageDocument(nsACString* aDocURL) const
|
|||
}
|
||||
|
||||
nsWindowSizes windowSizes(WindowsMallocSizeOf);
|
||||
doc->DocAddSizeOfExcludingThis(&windowSizes);
|
||||
doc->DocAddSizeOfIncludingThis(&windowSizes);
|
||||
return windowSizes.getTotalSize();
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче