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

Unified Diff: media/base/serial_runner_unittest.cc

Issue 1906423005: Replace scoped_ptr with std::unique_ptr in //media/base. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scopedptr-media-base: android 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 | « media/base/serial_runner.cc ('k') | media/base/simd/convert_rgb_to_yuv_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/serial_runner_unittest.cc
diff --git a/media/base/serial_runner_unittest.cc b/media/base/serial_runner_unittest.cc
index 8d5d97474b3e845cecaf39e3fb392e052b3ef699..236dc776591658b099593693911db30a23474012 100644
--- a/media/base/serial_runner_unittest.cc
+++ b/media/base/serial_runner_unittest.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include <stddef.h>
+#include <memory>
#include "base/bind.h"
#include "base/debug/stack_trace.h"
@@ -128,7 +129,7 @@ class SerialRunnerTest : public ::testing::Test {
base::MessageLoop message_loop_;
SerialRunner::Queue bound_fns_;
- scoped_ptr<SerialRunner> runner_;
+ std::unique_ptr<SerialRunner> runner_;
// Used to enforce calling stack guarantees of the API.
bool inside_start_;
« no previous file with comments | « media/base/serial_runner.cc ('k') | media/base/simd/convert_rgb_to_yuv_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698