summaryrefslogtreecommitdiffstats
path: root/content/renderer/p2p/port_allocator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/renderer/p2p/port_allocator.cc')
-rw-r--r--content/renderer/p2p/port_allocator.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/renderer/p2p/port_allocator.cc b/content/renderer/p2p/port_allocator.cc
index 77ac0ef..a76911b 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_ =