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

Unified Diff: content/renderer/media/peer_connection_identity_store.cc

Issue 1461173002: Stop using rtc::scoped_ptr::Pass() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 | « no previous file | content/renderer/media/rtc_certificate_generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/peer_connection_identity_store.cc
diff --git a/content/renderer/media/peer_connection_identity_store.cc b/content/renderer/media/peer_connection_identity_store.cc
index 078fa5d85f19e470eac1a1a2555c05abdb293409..c6f432dc6c465c0553ca3fd97c04beab9657e4fa 100644
--- a/content/renderer/media/peer_connection_identity_store.cc
+++ b/content/renderer/media/peer_connection_identity_store.cc
@@ -92,8 +92,7 @@ class RequestHandler : public base::RefCountedThreadSafe<RequestHandler> {
void ObserverOnSuccess(
const rtc::scoped_refptr<webrtc::DtlsIdentityRequestObserver>& observer,
scoped_ptr<rtc::SSLIdentity> identity) {
- rtc::scoped_ptr<rtc::SSLIdentity> rtc_scoped_ptr(identity.release());
- observer->OnSuccess(rtc_scoped_ptr.Pass());
+ observer->OnSuccess(rtc::scoped_ptr<rtc::SSLIdentity>(identity.release()));
}
} // namespace
« no previous file with comments | « no previous file | content/renderer/media/rtc_certificate_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698