mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Return a reference in Document::window()
This commit is contained in:
parent
e889b0914b
commit
409b5e3695
12 changed files with 31 additions and 39 deletions
|
@ -100,7 +100,6 @@ impl HTMLImageElement {
|
|||
let node = NodeCast::from_ref(self);
|
||||
let document = node.owner_doc();
|
||||
let window = document.r().window();
|
||||
let window = window.r();
|
||||
let image_cache = window.image_cache_task();
|
||||
match value {
|
||||
None => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue