Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(824)

Unified Diff: content/browser/speech/chunked_byte_buffer_unittest.cc

Issue 1874893002: Convert //content/browser from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/speech/chunked_byte_buffer_unittest.cc
diff --git a/content/browser/speech/chunked_byte_buffer_unittest.cc b/content/browser/speech/chunked_byte_buffer_unittest.cc
index 56919757a4ee078510ac76bb333d7f95cd3ab789..d8a5cb27842b598e39f2b02c77948e027a7c57f5 100644
--- a/content/browser/speech/chunked_byte_buffer_unittest.cc
+++ b/content/browser/speech/chunked_byte_buffer_unittest.cc
@@ -42,7 +42,7 @@ TEST(ChunkedByteBufferTest, BasicTest) {
EXPECT_TRUE(buffer.HasChunks());
// Remove and check chunk 1.
- scoped_ptr<ByteVector> chunk;
+ std::unique_ptr<ByteVector> chunk;
chunk = buffer.PopChunk();
EXPECT_TRUE(chunk != NULL);
EXPECT_EQ(4U, chunk->size());
« no previous file with comments | « content/browser/speech/chunked_byte_buffer.cc ('k') | content/browser/speech/endpointer/energy_endpointer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698