| Index: content/renderer/p2p/port_allocator.cc
|
| diff --git a/content/renderer/p2p/port_allocator.cc b/content/renderer/p2p/port_allocator.cc
|
| index 77ac0ef76595a978f31fde4cd6bcab5291000be6..a76911b33c0db952870025e06a46f72e9b5f8a19 100644
|
| --- a/content/renderer/p2p/port_allocator.cc
|
| +++ b/content/renderer/p2p/port_allocator.cc
|
| @@ -108,7 +108,7 @@ P2PPortAllocatorSession::P2PPortAllocatorSession(
|
| }
|
|
|
| P2PPortAllocatorSession::~P2PPortAllocatorSession() {
|
| - if (stun_address_request_)
|
| + if (stun_address_request_.get())
|
| stun_address_request_->Cancel();
|
| }
|
|
|
| @@ -155,7 +155,7 @@ void P2PPortAllocatorSession::GetPortConfigurations() {
|
| }
|
|
|
| void P2PPortAllocatorSession::ResolveStunServerAddress() {
|
| - if (stun_address_request_)
|
| + if (stun_address_request_.get())
|
| return;
|
|
|
| stun_address_request_ =
|
|
|