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 648a19c3e7
commit a476dad298

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()