mirror of
https://github.com/servo/servo.git
synced 2025-07-23 15:23:42 +01:00
Auto merge of #22490 - cdeler:fix-22484-issue, r=ferjm
#22484 small cleanup --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #22484 (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because it's a small code cleanup <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22490) <!-- Reviewable:end -->
This commit is contained in:
commit
27bb33cb9e
1 changed files with 1 additions and 1 deletions
|
@ -1313,7 +1313,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| {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue