| Index: content/browser/renderer_host/media/video_capture_manager.cc
|
| diff --git a/content/browser/renderer_host/media/video_capture_manager.cc b/content/browser/renderer_host/media/video_capture_manager.cc
|
| index 8e84fdd8441db69efeec858ea857c51bc2490173..de1cc9917f5284f65e4011f96d6ccb88d366e654 100644
|
| --- a/content/browser/renderer_host/media/video_capture_manager.cc
|
| +++ b/content/browser/renderer_host/media/video_capture_manager.cc
|
| @@ -495,7 +495,8 @@ VideoCaptureManager::DoStartTabCaptureOnDeviceThread(
|
| DCHECK(IsOnDeviceThread());
|
|
|
| scoped_ptr<media::VideoCaptureDevice> video_capture_device;
|
| - video_capture_device.reset(WebContentsVideoCaptureDevice::Create(id));
|
| + video_capture_device.reset(WebContentsVideoCaptureDevice::Create(
|
| + id, WebContentsVideoCaptureDevice::CHROME_TAB_CAPTURE));
|
|
|
| if (!video_capture_device) {
|
| device_client->OnError(FROM_HERE, "Could not create capture device");
|
| @@ -523,7 +524,8 @@ VideoCaptureManager::DoStartDesktopCaptureOnDeviceThread(
|
| }
|
|
|
| if (desktop_id.type == DesktopMediaID::TYPE_WEB_CONTENTS) {
|
| - video_capture_device.reset(WebContentsVideoCaptureDevice::Create(id));
|
| + video_capture_device.reset(WebContentsVideoCaptureDevice::Create(
|
| + id, WebContentsVideoCaptureDevice::CHROME_CHOOSE_DESKTOP_MEDIA));
|
| } else {
|
| #if defined(USE_AURA)
|
| video_capture_device = DesktopCaptureDeviceAura::Create(desktop_id);
|
|
|