| Index: webrtc/p2p/base/transportcontroller_unittest.cc
|
| diff --git a/webrtc/p2p/base/transportcontroller_unittest.cc b/webrtc/p2p/base/transportcontroller_unittest.cc
|
| index 23e4dc80671d2e873f9e213afda28175e2113ce4..140852984a63a72f63d2c2be03e8f58266770832 100644
|
| --- a/webrtc/p2p/base/transportcontroller_unittest.cc
|
| +++ b/webrtc/p2p/base/transportcontroller_unittest.cc
|
| @@ -268,15 +268,11 @@ TEST_F(TransportControllerTest, TestGetSslRole) {
|
|
|
| TEST_F(TransportControllerTest, TestSetAndGetLocalCertificate) {
|
| rtc::scoped_refptr<rtc::RTCCertificate> certificate1 =
|
| - rtc::RTCCertificate::Create(
|
| - rtc::scoped_ptr<rtc::SSLIdentity>(
|
| - rtc::SSLIdentity::Generate("session1", rtc::KT_DEFAULT))
|
| - .Pass());
|
| + rtc::RTCCertificate::Create(rtc::scoped_ptr<rtc::SSLIdentity>(
|
| + rtc::SSLIdentity::Generate("session1", rtc::KT_DEFAULT)));
|
| rtc::scoped_refptr<rtc::RTCCertificate> certificate2 =
|
| - rtc::RTCCertificate::Create(
|
| - rtc::scoped_ptr<rtc::SSLIdentity>(
|
| - rtc::SSLIdentity::Generate("session2", rtc::KT_DEFAULT))
|
| - .Pass());
|
| + rtc::RTCCertificate::Create(rtc::scoped_ptr<rtc::SSLIdentity>(
|
| + rtc::SSLIdentity::Generate("session2", rtc::KT_DEFAULT)));
|
| rtc::scoped_refptr<rtc::RTCCertificate> returned_certificate;
|
|
|
| FakeTransportChannel* channel1 = CreateChannel("audio", 1);
|
|
|