| Index: content/browser/media/capture/desktop_capture_device_aura.cc
|
| diff --git a/content/browser/media/capture/desktop_capture_device_aura.cc b/content/browser/media/capture/desktop_capture_device_aura.cc
|
| index c99ad01e2bcf96074448b9fd0d77fb9a6ff42c75..3efbb6a12b3047ab3f4e7e454366a87739d07e79 100644
|
| --- a/content/browser/media/capture/desktop_capture_device_aura.cc
|
| +++ b/content/browser/media/capture/desktop_capture_device_aura.cc
|
| @@ -271,10 +271,8 @@ void DesktopVideoCaptureMachine::Capture(bool dirty) {
|
| cc::CopyOutputRequest::CreateRequest(
|
| base::Bind(&DesktopVideoCaptureMachine::DidCopyOutput,
|
| AsWeakPtr(), frame, start_time, capture_frame_cb));
|
| - gfx::Rect window_rect =
|
| - ui::ConvertRectToPixel(desktop_window_->layer(),
|
| - gfx::Rect(desktop_window_->bounds().width(),
|
| - desktop_window_->bounds().height()));
|
| + gfx::Rect window_rect = gfx::Rect(desktop_window_->bounds().width(),
|
| + desktop_window_->bounds().height());
|
| request->set_area(window_rect);
|
| desktop_window_->layer()->RequestCopyOfOutput(request.Pass());
|
| }
|
|
|