Index: talk/session/media/mediasession_unittest.cc |
diff --git a/talk/session/media/mediasession_unittest.cc b/talk/session/media/mediasession_unittest.cc |
index abb03e7de7049f7c707f4b74cc0ff91ed8f8b27b..20b72e93946393e9c2f7aa9886999583c9f3cbf3 100644 |
--- a/talk/session/media/mediasession_unittest.cc |
+++ b/talk/session/media/mediasession_unittest.cc |
@@ -238,11 +238,9 @@ class MediaSessionDescriptionFactoryTest : public testing::Test { |
f2_.set_video_codecs(MAKE_VECTOR(kVideoCodecs2)); |
f2_.set_data_codecs(MAKE_VECTOR(kDataCodecs2)); |
tdf1_.set_certificate(rtc::RTCCertificate::Create( |
- rtc::scoped_ptr<rtc::SSLIdentity>( |
- new rtc::FakeSSLIdentity("id1")).Pass())); |
+ rtc::scoped_ptr<rtc::SSLIdentity>(new rtc::FakeSSLIdentity("id1")))); |
tdf2_.set_certificate(rtc::RTCCertificate::Create( |
- rtc::scoped_ptr<rtc::SSLIdentity>( |
- new rtc::FakeSSLIdentity("id2")).Pass())); |
+ rtc::scoped_ptr<rtc::SSLIdentity>(new rtc::FakeSSLIdentity("id2")))); |
} |
// Create a video StreamParamsVec object with: |