Fix set_area sizes for RequestCopyOfOutput, and related tests.
NOTE: This is a revival/continuation of https://codereview.chromium.org/333723004, which was started by another developer. The cc:CopyOutputRequest object assumes the src_subrect region is in DIP space. Thus, all calling code should provide the same. Fixed tests in render_widget_host_view_browsertest.cc that were completing successfully, even though the implementation was broken for the high DPI scenarios. In addition, I updated a number of interface comments to clarify the difference between src_subrect being in DIP coordinates versus the dest_size being in physical pixel coordinates. Dependent on: https://codereview.chromium.org/311253004 (landed at r276139) BUG=397708,399349 Review URL: https://codereview.chromium.org/462173002 Cr-Commit-Position: refs/heads/master@{#289509} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289509 0039d316-1c4b-4281-b951-d872f2087c98
Showing
This diff is collapsed.
Please register or sign in to comment