| Index: talk/app/webrtc/peerconnectionfactory.cc
|
| diff --git a/talk/app/webrtc/peerconnectionfactory.cc b/talk/app/webrtc/peerconnectionfactory.cc
|
| index d01f5428265a8088e710462f73247abc7adb7173..6d36c8bc2fcf5bcc60956c351ffc31ec8d3f67fd 100644
|
| --- a/talk/app/webrtc/peerconnectionfactory.cc
|
| +++ b/talk/app/webrtc/peerconnectionfactory.cc
|
| @@ -27,6 +27,8 @@
|
|
|
| #include "talk/app/webrtc/peerconnectionfactory.h"
|
|
|
| +#include <utility>
|
| +
|
| #include "talk/app/webrtc/audiotrack.h"
|
| #include "talk/app/webrtc/localaudiosource.h"
|
| #include "talk/app/webrtc/mediastream.h"
|
| @@ -274,12 +276,8 @@ PeerConnectionFactory::CreatePeerConnection(
|
|
|
| rtc::scoped_refptr<PeerConnection> pc(
|
| new rtc::RefCountedObject<PeerConnection>(this));
|
| - if (!pc->Initialize(
|
| - configuration,
|
| - constraints,
|
| - chosen_allocator_factory,
|
| - dtls_identity_store.Pass(),
|
| - observer)) {
|
| + if (!pc->Initialize(configuration, constraints, chosen_allocator_factory,
|
| + std::move(dtls_identity_store), observer)) {
|
| return NULL;
|
| }
|
| return PeerConnectionProxy::Create(signaling_thread(), pc);
|
|
|