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

Unified Diff: chrome/browser/ui/webui/media_router/query_result_manager.cc

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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: chrome/browser/ui/webui/media_router/query_result_manager.cc
diff --git a/chrome/browser/ui/webui/media_router/query_result_manager.cc b/chrome/browser/ui/webui/media_router/query_result_manager.cc
index 2baa55c0d63f21b8c342c81ea41ed93155504b77..e7f76d6d76bb8b5aa3158d7759212109d00cbadd 100644
--- a/chrome/browser/ui/webui/media_router/query_result_manager.cc
+++ b/chrome/browser/ui/webui/media_router/query_result_manager.cc
@@ -87,7 +87,7 @@ void QueryResultManager::StartSinksQuery(MediaCastMode cast_mode,
RemoveObserverForCastMode(cast_mode);
UpdateWithSinksQueryResult(cast_mode, std::vector<MediaSink>());
- scoped_ptr<CastModeMediaSinksObserver> observer(
+ std::unique_ptr<CastModeMediaSinksObserver> observer(
new CastModeMediaSinksObserver(cast_mode, source, origin, router_, this));
observer->Init();
auto result =
« no previous file with comments | « chrome/browser/ui/webui/media_router/query_result_manager.h ('k') | chrome/browser/ui/webui/mojo_web_ui_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698