Skip to content

Commit

Permalink
#22484 Do not borrow HTMLImageElement::same_origin as mutable
Browse files Browse the repository at this point in the history
  • Loading branch information
cdeler committed Dec 18, 2018
1 parent 9ca6768 commit 5060ebc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/script/dom/htmlimageelement.rs
Expand Up @@ -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| {
Expand Down

0 comments on commit 5060ebc

Please sign in to comment.