| Index: content/browser/speech/chunked_byte_buffer.cc
|
| diff --git a/content/browser/speech/chunked_byte_buffer.cc b/content/browser/speech/chunked_byte_buffer.cc
|
| index 7a0558918c8dafa1e732b2d080c3699d8865d00d..a43e40a420cf3721afdcc4bafb67bb7786919ede 100644
|
| --- a/content/browser/speech/chunked_byte_buffer.cc
|
| +++ b/content/browser/speech/chunked_byte_buffer.cc
|
| @@ -103,10 +103,10 @@ bool ChunkedByteBuffer::HasChunks() const {
|
| return !chunks_.empty();
|
| }
|
|
|
| -scoped_ptr<std::vector<uint8_t>> ChunkedByteBuffer::PopChunk() {
|
| +std::unique_ptr<std::vector<uint8_t>> ChunkedByteBuffer::PopChunk() {
|
| if (chunks_.empty())
|
| - return scoped_ptr<std::vector<uint8_t>>();
|
| - scoped_ptr<Chunk> chunk(*chunks_.begin());
|
| + return std::unique_ptr<std::vector<uint8_t>>();
|
| + std::unique_ptr<Chunk> chunk(*chunks_.begin());
|
| chunks_.weak_erase(chunks_.begin());
|
| DCHECK_EQ(chunk->header.size(), kHeaderLength);
|
| DCHECK_EQ(chunk->content->size(), chunk->ExpectedContentLength());
|
|
|