#22484 Do not borrow HTMLImageElement::same_origin as mutable

This commit is contained in:
cdeler 2018-12-18 11:21:32 +03:00
parent 9ca6768a56
commit 5060ebce8b

View file

@ -1322,7 +1322,7 @@ impl HTMLImageElement {
pub fn same_origin(&self, origin: &MutableOrigin) -> bool { pub fn same_origin(&self, origin: &MutableOrigin) -> bool {
self.current_request self.current_request
.borrow_mut() .borrow()
.final_url .final_url
.as_ref() .as_ref()
.map_or(false, |url| { .map_or(false, |url| {