Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / webrtc / test / fake_network_pipe_unittest.cc
index 5076bc0..6655fa1 100644 (file)
@@ -47,7 +47,7 @@ class FakeNetworkPipeTest : public ::testing::Test {
   }
 
   void SendPackets(FakeNetworkPipe* pipe, int number_packets, int kPacketSize) {
-    scoped_array<uint8_t> packet(new uint8_t[kPacketSize]);
+    scoped_ptr<uint8_t[]> packet(new uint8_t[kPacketSize]);
     for (int i = 0; i < number_packets; ++i) {
       pipe->SendPacket(packet.get(), kPacketSize);
     }