Bug 812935 - Fix undefined value error in memory reporter for web workers. r=khuey

--HG--
extra : rebase_source : 7304009ade1e1560d7e66d0d4e0ab1da2f2a8448
This commit is contained in:
Nicholas Nethercote 2012-11-18 17:49:13 -08:00
parent 7406d0ccb6
commit 311cd9d98e

View File

@ -1561,9 +1561,10 @@ public:
"the process of being destroyed");
NS_WARNING(message.get());
#endif
*static_cast<int64_t*>(aData) = 0;
return NS_OK;
}
if (!mWorkerPrivate->BlockAndCollectRuntimeStats(aIsQuick, aData)) {
return NS_ERROR_FAILURE;
}