[privacy_budget] Use Document's UkmRecorder.
Use the Document's UkmRecorder and UkmSourceID instead of the ExecutionContext's parameters when there's a document available. This can make a difference when an element is being adoped and other lifecycle events where the ExecutionContext is not available. Bug: 1155600 Bug: 1146855 Change-Id: I5767caa9e7086fbfbffe5bc94c49aba6bbffa903 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2576634Reviewed-by:Fernando Serboncini <fserb@chromium.org> Commit-Queue: Asanka Herath <asanka@chromium.org> Cr-Commit-Position: refs/heads/master@{#834722}
Showing
Please register or sign in to comment