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

Unified Diff: content/browser/media/capture/image_capture_impl.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/browser/media/capture/image_capture_impl.cc
diff --git a/content/browser/media/capture/image_capture_impl.cc b/content/browser/media/capture/image_capture_impl.cc
index b0c0db22af678ed4160edd9a6d2842ab1816041e..66dfafc072d40c74756a1dc5c8656bd4d1b1e47d 100644
--- a/content/browser/media/capture/image_capture_impl.cc
+++ b/content/browser/media/capture/image_capture_impl.cc
@@ -105,7 +105,7 @@ void ImageCaptureImpl::TakePhoto(const mojo::String& source_id,
BrowserThread::PostTask(
BrowserThread::IO, FROM_HERE,
base::Bind(&TakePhotoOnIOThread, source_id,
- BrowserMainLoop::GetInstance()->media_stream_manager(),
+ BrowserMainLoop::GetInstance()->GetMediaStreamManager(),
base::Passed(&scoped_callback)));
}

Powered by Google App Engine
This is Rietveld 408576698