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

Unified Diff: extensions/shell/browser/media_capture_util.cc

Issue 1908953003: Convert //extensions/{common,shell} 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: extensions/shell/browser/media_capture_util.cc
diff --git a/extensions/shell/browser/media_capture_util.cc b/extensions/shell/browser/media_capture_util.cc
index 6f4660c84f0b18fc1a58e5cf5fd0aec6acb817b2..fe2db183f0be6fc5a828ea80401943c87082ba26 100644
--- a/extensions/shell/browser/media_capture_util.cc
+++ b/extensions/shell/browser/media_capture_util.cc
@@ -64,7 +64,7 @@ void GrantMediaStreamRequest(content::WebContents* web_contents,
}
// TODO(jamescook): Should we show a recording icon somewhere? If so, where?
- scoped_ptr<MediaStreamUI> ui;
+ std::unique_ptr<MediaStreamUI> ui;
callback.Run(devices, devices.empty() ? content::MEDIA_DEVICE_INVALID_STATE
: content::MEDIA_DEVICE_OK,
std::move(ui));

Powered by Google App Engine
This is Rietveld 408576698