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

Unified Diff: media/formats/common/offset_byte_queue_unittest.cc

Issue 1874413003: Convert media/formats 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
« no previous file with comments | « no previous file | media/formats/common/stream_parser_test_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/formats/common/offset_byte_queue_unittest.cc
diff --git a/media/formats/common/offset_byte_queue_unittest.cc b/media/formats/common/offset_byte_queue_unittest.cc
index 3a3acd352679c7b3567747f1106c6abecb4e5e0f..a968e29f4738f834679fe4686c723ce2387730e5 100644
--- a/media/formats/common/offset_byte_queue_unittest.cc
+++ b/media/formats/common/offset_byte_queue_unittest.cc
@@ -2,11 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "media/formats/common/offset_byte_queue.h"
xhwang 2016/04/11 18:56:43 Where's the rule that this header should be the fi
Nico 2016/04/11 19:00:01 dcheng's script for adding these puts them there.
+
#include <stdint.h>
#include <string.h>
-#include "base/memory/scoped_ptr.h"
-#include "media/formats/common/offset_byte_queue.h"
+#include <memory>
+
#include "testing/gtest/include/gtest/gtest.h"
namespace media {
@@ -28,7 +30,7 @@ class OffsetByteQueueTest : public testing::Test {
}
protected:
- scoped_ptr<OffsetByteQueue> queue_;
+ std::unique_ptr<OffsetByteQueue> queue_;
};
TEST_F(OffsetByteQueueTest, SetUp) {
« no previous file with comments | « no previous file | media/formats/common/stream_parser_test_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698