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

Unified Diff: media/blink/webmediaplayer_util.cc

Issue 1904253002: Convert //media/blink 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
« no previous file with comments | « media/blink/webmediaplayer_impl_unittest.cc ('k') | media/blink/websourcebuffer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/webmediaplayer_util.cc
diff --git a/media/blink/webmediaplayer_util.cc b/media/blink/webmediaplayer_util.cc
index 06cd819a2c45fd4b759f3ba4b05fc28cdea772fb..981cba22c7ace321729a2d748eb161842e324a04 100644
--- a/media/blink/webmediaplayer_util.cc
+++ b/media/blink/webmediaplayer_util.cc
@@ -205,7 +205,7 @@ class SetSinkIdCallback {
private:
// Mutable is required so that Pass() can be called in the copy
// constructor.
- mutable scoped_ptr<blink::WebSetSinkIdCallbacks> web_callback_;
+ mutable std::unique_ptr<blink::WebSetSinkIdCallbacks> web_callback_;
};
void RunSetSinkIdCallback(const SetSinkIdCallback& callback,
« no previous file with comments | « media/blink/webmediaplayer_impl_unittest.cc ('k') | media/blink/websourcebuffer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698