Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle invisible to visible change on Geolocation::PageVisibilityChanged
This CL is split from https://chromium-review.googlesource.com/c/chromium/src/+/3449477 This CL changes Geolocation::PageVisibilityChanged so that it would care about invisible->visible cases. Before this CL, the code path assumed visible->invisible case, where it only needed to shutdown the notifier updates, which didn't require UpdateGeolocationConnection calls with actual notifier pointers. This CL updates it to loop for all notifiers registered, so that it can setup the timers in invisible->visible case. Bug: 626703 Change-Id: I32aa48837157d181d3348528b853b4f7b6af3b99 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3470643 Reviewed-by: Kentaro Hara <[email protected]> Commit-Queue: Kouhei Ueno <[email protected]> Auto-Submit: Kouhei Ueno <[email protected]> Cr-Commit-Position: refs/heads/main@{#972926}
- Loading branch information