Bug 779445 - SegFault in WorkerMemoryReporter because it accesses mWorkerPrivate when null; r=bent

This commit is contained in:
Tim Taubert 2012-08-01 17:23:13 +02:00
Родитель e47af06aa0
Коммит ade5338cd5
1 изменённых файлов: 0 добавлений и 3 удалений

Просмотреть файл

@ -1554,9 +1554,6 @@ public:
if (!mWorkerPrivate) {
#ifdef DEBUG
nsCAutoString message("Unable to report memory for ");
if (mWorkerPrivate->IsChromeWorker()) {
message.AppendLiteral("Chrome");
}
message += NS_LITERAL_CSTRING("Worker (") + mAddressString +
NS_LITERAL_CSTRING(")! It is either using ctypes or is in "
"the process of being destroyed");