-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ios] Update parameters in TakeSnapshot() in WebState
This CL updates parameters in TakeSnapshot() from gfx::RectF and gfx::Image, UI framework implemented in Chromium, to CGRect and UIImage. A generated UIImage is converted to gfx::Image at https://source.chromium.org/chromium/chromium/src/+/main:ios/web/web_state/web_state_impl_realized_web_state.mm;l=827;drc=a56fa7215e6db4381cd9db0ea39e3c0771022a78;bpv=1;bpt=1 and it's back to UIImage again at https://source.chromium.org/chromium/chromium/src/+/main:ios/chrome/browser/snapshots/model/snapshot_generator.mm;l=95;drc=a56fa7215e6db4381cd9db0ea39e3c0771022a78;bpv=1;bpt=1 which is not necessary. Change-Id: I185c376e3d920d340618e83395e68357ac19f0fa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5151176 Reviewed-by: Federica Germinario <fedegermi@google.com> Commit-Queue: Asami Doi <asamidoi@chromium.org> Reviewed-by: Mark Cogan <marq@chromium.org> Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Cr-Commit-Position: refs/heads/main@{#1243970}
- Loading branch information
Showing
10 changed files
with
22 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters