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

Unified Diff: media/base/test_helpers.h

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/test_data_util.h ('k') | media/base/text_renderer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/test_helpers.h
diff --git a/media/base/test_helpers.h b/media/base/test_helpers.h
index 17df67de32c64c71aaad8bbdd2c42793c2df2976..bba60c9af38f3e382e1434ec1d77eda0bf52587e 100644
--- a/media/base/test_helpers.h
+++ b/media/base/test_helpers.h
@@ -6,6 +6,7 @@
#define MEDIA_BASE_TEST_HELPERS_H_
#include <stddef.h>
+#include <memory>
#include "base/callback.h"
#include "base/macros.h"
@@ -67,7 +68,7 @@ class WaitableMessageLoopEvent {
base::MessageLoop* message_loop_;
bool signaled_;
PipelineStatus status_;
- scoped_ptr<base::RunLoop> run_loop_;
+ std::unique_ptr<base::RunLoop> run_loop_;
DISALLOW_COPY_AND_ASSIGN(WaitableMessageLoopEvent);
};
« no previous file with comments | « media/base/test_data_util.h ('k') | media/base/text_renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698