mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
#22484 Do not borrow HTMLImageElement::same_origin as mutable
This commit is contained in:
parent
9ca6768a56
commit
5060ebce8b
1 changed files with 1 additions and 1 deletions
|
@ -1322,7 +1322,7 @@ impl HTMLImageElement {
|
|||
|
||||
pub fn same_origin(&self, origin: &MutableOrigin) -> bool {
|
||||
self.current_request
|
||||
.borrow_mut()
|
||||
.borrow()
|
||||
.final_url
|
||||
.as_ref()
|
||||
.map_or(false, |url| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue