Index: webrtc/p2p/base/transportdescriptionfactory_unittest.cc |
diff --git a/webrtc/p2p/base/transportdescriptionfactory_unittest.cc b/webrtc/p2p/base/transportdescriptionfactory_unittest.cc |
index e3992dfdd361c252203bacb3940a74d069211295..a52d9ed95aa683a8ac761cd765b32bee1e476168 100644 |
--- a/webrtc/p2p/base/transportdescriptionfactory_unittest.cc |
+++ b/webrtc/p2p/base/transportdescriptionfactory_unittest.cc |
@@ -26,11 +26,10 @@ using cricket::TransportOptions; |
class TransportDescriptionFactoryTest : public testing::Test { |
public: |
TransportDescriptionFactoryTest() |
- : cert1_(rtc::RTCCertificate::Create(scoped_ptr<rtc::SSLIdentity>( |
- new rtc::FakeSSLIdentity("User1")).Pass())), |
- cert2_(rtc::RTCCertificate::Create(scoped_ptr<rtc::SSLIdentity>( |
- new rtc::FakeSSLIdentity("User2")).Pass())) { |
- } |
+ : cert1_(rtc::RTCCertificate::Create( |
+ scoped_ptr<rtc::SSLIdentity>(new rtc::FakeSSLIdentity("User1")))), |
+ cert2_(rtc::RTCCertificate::Create( |
+ scoped_ptr<rtc::SSLIdentity>(new rtc::FakeSSLIdentity("User2")))) {} |
void CheckDesc(const TransportDescription* desc, |
const std::string& opt, const std::string& ice_ufrag, |