commit | b8f3abee06225b664de730b8cd2f7e61897f80ee | [log] [tgz] |
---|---|---|
author | dvallet <dvallet@chromium.org> | Mon Mar 13 00:03:36 2017 |
committer | Commit bot <commit-bot@chromium.org> | Mon Mar 13 00:03:36 2017 |
tree | de8e4fe414e3bae959e1b11045b58ec3c6407e1c | |
parent | a05466fbe6b8cac0df697f61e2387e3f536aa614 [diff] |
Add fromSurface optional parameter to devtools Page.CaptureScreenshot This allows headless screenshots to work more consistently in all platforms by getting screenshots from the surface rather than the view. It also fixes screenshots not working properly in headless Mac, due to screen dependency. BUG=687407 Review-Url: https://codereview.chromium.org/2732923002 Cr-Commit-Position: refs/heads/master@{#456309}