Make WebTestProxy handle printing + compositing mode
CapturePixels has a special branch for printing code, but CapturePixelsAsync before this patch doesn't. Because WebKitTestRunner calls the async version in compositing mode, printing tests fail if it doesn't also handle this case. The stateful canvas() accessor that the paintPagesWithBoundaries modifies is a bit of a code smell that previously existed, but it can't be easily cleaned up until the CapturePixels function gets removed. BUG=361729 Review URL: https://codereview.chromium.org/274253002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269867 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment