| Index: webrtc/p2p/base/transportdescriptionfactory.cc
|
| diff --git a/webrtc/p2p/base/transportdescriptionfactory.cc b/webrtc/p2p/base/transportdescriptionfactory.cc
|
| index 7654fdfcf504a1abd5f4e97ed8db4c75eee8548f..6bc5b88381e63de3bcdebe66ec7964342620c8fc 100644
|
| --- a/webrtc/p2p/base/transportdescriptionfactory.cc
|
| +++ b/webrtc/p2p/base/transportdescriptionfactory.cc
|
| @@ -14,14 +14,12 @@
|
| #include "webrtc/base/helpers.h"
|
| #include "webrtc/base/logging.h"
|
| #include "webrtc/base/messagedigest.h"
|
| -#include "webrtc/base/scoped_ptr.h"
|
| #include "webrtc/base/sslfingerprint.h"
|
|
|
| namespace cricket {
|
|
|
| TransportDescriptionFactory::TransportDescriptionFactory()
|
| - : secure_(SEC_DISABLED),
|
| - identity_(NULL) {
|
| + : secure_(SEC_DISABLED) {
|
| }
|
|
|
| TransportDescription* TransportDescriptionFactory::CreateOffer(
|
| @@ -112,7 +110,7 @@ bool TransportDescriptionFactory::SetSecurityInfo(
|
| }
|
|
|
| desc->identity_fingerprint.reset(
|
| - rtc::SSLFingerprint::Create(digest_alg, identity_));
|
| + rtc::SSLFingerprint::Create(digest_alg, identity_.get()));
|
| if (!desc->identity_fingerprint.get()) {
|
| LOG(LS_ERROR) << "Failed to create identity fingerprint, alg="
|
| << digest_alg;
|
|
|