mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 906152 - use StaticRefPtr in DataChannel.cpp to avoid a static constructor; r=jduell
This commit is contained in:
parent
c25e61d121
commit
a94c411a49
@ -38,6 +38,7 @@
|
||||
#include "nsThreadUtils.h"
|
||||
#include "nsAutoPtr.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "mozilla/StaticPtr.h"
|
||||
#ifdef MOZ_PEERCONNECTION
|
||||
#include "mtransport/runnable_utils.h"
|
||||
#endif
|
||||
@ -78,7 +79,7 @@ static bool sctp_initialized;
|
||||
namespace mozilla {
|
||||
|
||||
class DataChannelShutdown;
|
||||
nsRefPtr<DataChannelShutdown> gDataChannelShutdown;
|
||||
StaticRefPtr<DataChannelShutdown> gDataChannelShutdown;
|
||||
|
||||
class DataChannelShutdown : public nsIObserver
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user