зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1027251 - Address review comments on mtransport - r=abr
(Sorry about that!)
This commit is contained in:
Родитель
9ab10590fc
Коммит
2ac8ed568a
|
@ -17,6 +17,8 @@ namespace mozilla {
|
|||
|
||||
class DataBuffer;
|
||||
|
||||
// Temporary whitelist for refcounted class dangerously exposing its destructor.
|
||||
// Filed bug 1028139 to address this class.
|
||||
template<>
|
||||
struct HasDangerousPublicDestructor<DataBuffer>
|
||||
{
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
namespace mozilla {
|
||||
|
||||
class DtlsIdentity {
|
||||
private:
|
||||
~DtlsIdentity();
|
||||
|
||||
public:
|
||||
|
|
|
@ -61,6 +61,7 @@ namespace mozilla {
|
|||
|
||||
class NrIceResolver
|
||||
{
|
||||
private:
|
||||
~NrIceResolver();
|
||||
public:
|
||||
NrIceResolver();
|
||||
|
|
|
@ -44,6 +44,8 @@ static size_t kStunMessageLen = sizeof(kStunMessage);
|
|||
|
||||
class DummySocket;
|
||||
|
||||
// Temporary whitelist for refcounted class dangerously exposing its destructor.
|
||||
// Filed bug 1028140 to address this class.
|
||||
namespace mozilla {
|
||||
template<>
|
||||
struct HasDangerousPublicDestructor<DummySocket>
|
||||
|
|
|
@ -38,6 +38,7 @@ MtransportTestUtils *test_utils;
|
|||
namespace {
|
||||
|
||||
class Destructor {
|
||||
private:
|
||||
~Destructor() {
|
||||
std::cerr << "Destructor called" << std::endl;
|
||||
*destroyed_ = true;
|
||||
|
|
Загрузка…
Ссылка в новой задаче