| Index: content/browser/compositor/delegated_frame_host.cc
|
| diff --git a/content/browser/compositor/delegated_frame_host.cc b/content/browser/compositor/delegated_frame_host.cc
|
| index f3d80373a9ced07e89ee07d8d20bff0bc73fb939..5f60874484a6cbf4e1d15c5e7f28060d0f860f5a 100644
|
| --- a/content/browser/compositor/delegated_frame_host.cc
|
| +++ b/content/browser/compositor/delegated_frame_host.cc
|
| @@ -138,9 +138,7 @@ void DelegatedFrameHost::CopyFromCompositingSurface(
|
| dst_size_in_pixel,
|
| config,
|
| callback));
|
| - gfx::Rect src_subrect_in_pixel =
|
| - ConvertRectToPixel(client_->CurrentDeviceScaleFactor(), src_subrect);
|
| - request->set_area(src_subrect_in_pixel);
|
| + request->set_area(src_subrect);
|
| client_->RequestCopyOfOutput(request.Pass());
|
| }
|
|
|
| @@ -175,9 +173,7 @@ void DelegatedFrameHost::CopyFromCompositingSurfaceToVideoFrame(
|
| subscriber_texture,
|
| target,
|
| callback));
|
| - gfx::Rect src_subrect_in_pixel =
|
| - ConvertRectToPixel(client_->CurrentDeviceScaleFactor(), src_subrect);
|
| - request->set_area(src_subrect_in_pixel);
|
| + request->set_area(src_subrect);
|
| if (subscriber_texture.get()) {
|
| request->SetTextureMailbox(
|
| cc::TextureMailbox(subscriber_texture->mailbox(),
|
|
|