Index: chrome/browser/media/media_capture_devices_dispatcher.cc |
diff --git a/chrome/browser/media/media_capture_devices_dispatcher.cc b/chrome/browser/media/media_capture_devices_dispatcher.cc |
index b4db4b196d54b8bf08c1040728815b147b8c10fb..98d6704583cd3856b282dbbcd5f70ae4aa0b177c 100644 |
--- a/chrome/browser/media/media_capture_devices_dispatcher.cc |
+++ b/chrome/browser/media/media_capture_devices_dispatcher.cc |
@@ -82,15 +82,6 @@ MediaCaptureDevicesDispatcher::MediaCaptureDevicesDispatcher() |
media_stream_capture_indicator_(new MediaStreamCaptureIndicator()) { |
DCHECK_CURRENTLY_ON(BrowserThread::UI); |
-#if defined(OS_MACOSX) |
- // AVFoundation is used for video/audio device monitoring and video capture. |
- if (!base::CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kForceQTKit)) { |
- base::CommandLine::ForCurrentProcess()->AppendSwitch( |
- switches::kEnableAVFoundation); |
- } |
-#endif |
- |
#if defined(ENABLE_EXTENSIONS) |
media_access_handlers_.push_back(new ExtensionMediaAccessHandler()); |
media_access_handlers_.push_back(new DesktopCaptureAccessHandler()); |