Index: webrtc/test/fake_network_pipe.h |
diff --git a/webrtc/test/fake_network_pipe.h b/webrtc/test/fake_network_pipe.h |
index d488d492c8d455ed958eae1cd6e6bb93f2e76f0f..3c2db86214e6ba668065e1944673c240b507bb98 100644 |
--- a/webrtc/test/fake_network_pipe.h |
+++ b/webrtc/test/fake_network_pipe.h |
@@ -11,6 +11,7 @@ |
#ifndef WEBRTC_TEST_FAKE_NETWORK_PIPE_H_ |
#define WEBRTC_TEST_FAKE_NETWORK_PIPE_H_ |
+#include <memory> |
#include <set> |
#include <string.h> |
#include <queue> |
@@ -50,7 +51,7 @@ class NetworkPacket { |
private: |
// The packet data. |
- rtc::scoped_ptr<uint8_t[]> data_; |
+ std::unique_ptr<uint8_t[]> data_; |
// Length of data_. |
size_t data_length_; |
// The time the packet was sent out on the network. |