mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
Bug 918234 - Use a proper StaticRefPtr type in Latency.cpp. r=bsmedberg, r=padenot
This commit is contained in:
parent
96fcd564e6
commit
96ad3bf319
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user