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 5012d2a9b2f896b98582b01a0b7d6a84a6989298..9be6ad9512cb533b964393c947a74fb639ac1618 100644 |
--- a/content/browser/compositor/delegated_frame_host.cc |
+++ b/content/browser/compositor/delegated_frame_host.cc |
@@ -142,9 +142,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()); |
} |
@@ -179,9 +177,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(), |