Don't pass preferred size from thumbnail capturing
Thumbnail capturing is a hidden capturer which should not have side-effect. It should not prefer the capture size. This CL is self-contained and tests by itself with the DCHECK in WebContentsImpl::IncrementCapturerCount(). I've verified that all callers now meet the requirement. Also verified programatically that the thumbnail capturing won't cause side effect of page rendering. Bug: 1112607 Change-Id: I9f9618e75568cec02d48ddb4b73c43b6233b7fa6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2380884Reviewed-by:Dana Fried <dfried@chromium.org> Reviewed-by:
Yaron Friedman <yfriedman@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/master@{#803645}
Showing
Please register or sign in to comment