Index: media/cast/logging/log_deserializer.cc |
diff --git a/media/cast/logging/log_deserializer.cc b/media/cast/logging/log_deserializer.cc |
index 3a5810632989af7892a137b004cfb61c3560d563..d5a336b10f88367084da216b00055ee87b5b4485 100644 |
--- a/media/cast/logging/log_deserializer.cc |
+++ b/media/cast/logging/log_deserializer.cc |
@@ -6,10 +6,10 @@ |
#include <stdint.h> |
+#include <memory> |
#include <utility> |
#include "base/big_endian.h" |
-#include "base/memory/scoped_ptr.h" |
#include "third_party/zlib/zlib.h" |
using media::cast::FrameEventMap; |
@@ -231,7 +231,7 @@ bool DeserializeEvents(const char* data, |
DCHECK_GT(data_bytes, 0); |
if (compressed) { |
- scoped_ptr<char[]> uncompressed(new char[kMaxUncompressedBytes]); |
+ std::unique_ptr<char[]> uncompressed(new char[kMaxUncompressedBytes]); |
int uncompressed_bytes = 0; |
if (!Uncompress(data, |
data_bytes, |