[ios] Call SnapshotTabHelper instead of SnapshotBrowserAgent in TabModel
The calls to SnapshotCache methods via SnapshotBrowserAgent required obtaining and passing in a Tab ID. It is more correct to directly call the SnapshotTabHelper since it is tied to the WebState. Change-Id: Ie0a7f1976544bc860e4b0cf4ba4e4e381689333e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2370015Reviewed-by:Mark Cogan <marq@chromium.org> Commit-Queue: edchin <edchin@chromium.org> Cr-Commit-Position: refs/heads/master@{#801385}
Showing
Please register or sign in to comment