Bug 918234 - Use a proper StaticRefPtr type in Latency.cpp. r=bsmedberg, r=padenot

This commit is contained in:
ISHIKAWA, Chiaki 2013-09-20 10:28:09 -04:00
parent 96fcd564e6
commit 96ad3bf319

View File

@ -13,6 +13,7 @@
#include <cmath>
#include <algorithm>
#include <mozilla/StaticPtr.h>
using namespace mozilla;
@ -24,7 +25,7 @@ const char* LatencyLogIndex2Strings[] = {
"NetStat"
};
static nsRefPtr<AsyncLatencyLogger> gAsyncLogger;
static StaticRefPtr<AsyncLatencyLogger> gAsyncLogger;
PRLogModuleInfo*
GetLatencyLog()