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

Unified Diff: content/public/browser/media_device_id.cc

Issue 2077983003: Intiialize AudioManager and related class lazily (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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: content/public/browser/media_device_id.cc
diff --git a/content/public/browser/media_device_id.cc b/content/public/browser/media_device_id.cc
index 97faa1e1a40ec9476959b9458e1d1e4345c98909..460d0df0f852513e8d7126e2de1a18a08db967f3 100644
--- a/content/public/browser/media_device_id.cc
+++ b/content/public/browser/media_device_id.cc
@@ -29,7 +29,7 @@ bool GetMediaDeviceIDForHMAC(MediaStreamType stream_type,
const std::string& source_id,
std::string* device_id) {
content::MediaStreamManager* manager =
- content::BrowserMainLoop::GetInstance()->media_stream_manager();
+ content::BrowserMainLoop::GetInstance()->GetMediaStreamManager();
return manager->TranslateSourceIdToDeviceId(
content::MEDIA_DEVICE_VIDEO_CAPTURE, salt, security_origin, source_id,

Powered by Google App Engine
This is Rietveld 408576698