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

Unified Diff: chromecast/media/base/media_message_loop.h

Issue 1875623002: Convert //chromecast 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: chromecast/media/base/media_message_loop.h
diff --git a/chromecast/media/base/media_message_loop.h b/chromecast/media/base/media_message_loop.h
index 22abcea712d0723a68b261410b6070bc20e78c6d..a36853a4ee6708360b576208d1a9d0fd19161e3c 100644
--- a/chromecast/media/base/media_message_loop.h
+++ b/chromecast/media/base/media_message_loop.h
@@ -5,9 +5,10 @@
#ifndef CHROMECAST_MEDIA_BASE_MEDIA_MESSAGE_LOOP_H_
#define CHROMECAST_MEDIA_BASE_MEDIA_MESSAGE_LOOP_H_
+#include <memory>
+
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/singleton.h"
namespace base {
@@ -32,7 +33,7 @@ class MediaMessageLoop {
MediaMessageLoop();
~MediaMessageLoop();
- scoped_ptr<base::Thread> thread_;
+ std::unique_ptr<base::Thread> thread_;
DISALLOW_COPY_AND_ASSIGN(MediaMessageLoop);
};
« no previous file with comments | « chromecast/media/base/cast_media_default.cc ('k') | chromecast/media/base/media_resource_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698