Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(929)

Unified Diff: content/renderer/p2p/port_allocator.cc

Issue 16294003: Update content/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/media/webrtc_local_audio_track_unittest.cc ('k') | content/renderer/p2p/socket_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_ =
« no previous file with comments | « content/renderer/media/webrtc_local_audio_track_unittest.cc ('k') | content/renderer/p2p/socket_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698