Index: webrtc/api/test/mockpeerconnectionobservers.h |
diff --git a/webrtc/api/test/mockpeerconnectionobservers.h b/webrtc/api/test/mockpeerconnectionobservers.h |
index bd593c2ab5286fea30d40390f5b1ac40ae756b08..39a8f0134d63f42d82390cc9840e98e7734024b7 100644 |
--- a/webrtc/api/test/mockpeerconnectionobservers.h |
+++ b/webrtc/api/test/mockpeerconnectionobservers.h |
@@ -13,6 +13,7 @@ |
#ifndef WEBRTC_API_TEST_MOCKPEERCONNECTIONOBSERVERS_H_ |
#define WEBRTC_API_TEST_MOCKPEERCONNECTIONOBSERVERS_H_ |
+#include <memory> |
#include <string> |
#include "webrtc/api/datachannelinterface.h" |
@@ -44,7 +45,7 @@ class MockCreateSessionDescriptionObserver |
private: |
bool called_; |
bool result_; |
- rtc::scoped_ptr<SessionDescriptionInterface> desc_; |
+ std::unique_ptr<SessionDescriptionInterface> desc_; |
}; |
class MockSetSessionDescriptionObserver |