diff options
author | Usman Yahaya Baba <91813795+uthmaniv@users.noreply.github.com> | 2025-04-06 07:29:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-06 06:29:16 +0000 |
commit | 9d074161638829deb0f0b1adacb8ff270abd1978 (patch) | |
tree | 3c2add3e19057908ad724e4806ecf42fc34e58d5 /components/script/dom/resizeobserversize.rs | |
parent | 6898eae61ee8070bbc19815bc35428200e7074bf (diff) | |
download | servo-9d074161638829deb0f0b1adacb8ff270abd1978.tar.gz servo-9d074161638829deb0f0b1adacb8ff270abd1978.zip |
Remove unsafe from maybe_cross_origin_get_prototype (#36366)
Remove unsafe from maybe_cross_origin_get_prototype
-Refactors `maybe_cross_origin_get_prototype` to remove the `unsafe`
annotation from the function signature and `get_proto_object` argument
-Adds `unsafe` blocks around calls `D::GlobalScope::from_context` and
`MutableHandleObject::from_raw`
Testing: Changes does not require test
Fixes: https://github.com/servo/servo/issues/36357
Signed-off-by: Uthman Yahaya Baba <uthmanyahayababa@gmail.com>
Diffstat (limited to 'components/script/dom/resizeobserversize.rs')
0 files changed, 0 insertions, 0 deletions