| Index: content/renderer/pepper/pepper_platform_video_capture.cc
|
| diff --git a/content/renderer/pepper/pepper_platform_video_capture.cc b/content/renderer/pepper/pepper_platform_video_capture.cc
|
| index 8abc4ac9e444e4a48594a59e08eea9fbf564bc75..e3fae3824d9d941185eba87c092791d278d0e4bd 100644
|
| --- a/content/renderer/pepper/pepper_platform_video_capture.cc
|
| +++ b/content/renderer/pepper/pepper_platform_video_capture.cc
|
| @@ -14,14 +14,12 @@
|
| #include "content/renderer/render_thread_impl.h"
|
| #include "media/base/bind_to_current_loop.h"
|
| #include "media/base/video_frame.h"
|
| -#include "url/gurl.h"
|
|
|
| namespace content {
|
|
|
| PepperPlatformVideoCapture::PepperPlatformVideoCapture(
|
| int render_frame_id,
|
| const std::string& device_id,
|
| - const GURL& document_url,
|
| PepperVideoCaptureHost* handler)
|
| : render_frame_id_(render_frame_id),
|
| device_id_(device_id),
|
| @@ -35,9 +33,7 @@ PepperPlatformVideoCapture::PepperPlatformVideoCapture(
|
| PepperMediaDeviceManager* const device_manager = GetMediaDeviceManager();
|
| if (device_manager) {
|
| pending_open_device_id_ = device_manager->OpenDevice(
|
| - PP_DEVICETYPE_DEV_VIDEOCAPTURE,
|
| - device_id,
|
| - document_url,
|
| + PP_DEVICETYPE_DEV_VIDEOCAPTURE, device_id, handler->pp_instance(),
|
| base::Bind(&PepperPlatformVideoCapture::OnDeviceOpened,
|
| weak_factory_.GetWeakPtr()));
|
| pending_open_device_ = true;
|
|
|