diff options
author | Gregory Terzian <gterzian@users.noreply.github.com> | 2018-07-01 20:22:19 +0800 |
---|---|---|
committer | Gregory Terzian <gterzian@users.noreply.github.com> | 2018-07-29 16:42:54 +0800 |
commit | ff62ca7c018eb3e6d50b516dc653e5090dbe7e37 (patch) | |
tree | 381aa67cf0290ce571e1d4737c3ff268c2b8c882 /components/script/layout_image.rs | |
parent | aab335e543f52211b2c44f6ed2ebf0cba98ddf97 (diff) | |
download | servo-ff62ca7c018eb3e6d50b516dc653e5090dbe7e37.tar.gz servo-ff62ca7c018eb3e6d50b516dc653e5090dbe7e37.zip |
implement window.stop, improve aborting document load
Diffstat (limited to 'components/script/layout_image.rs')
-rw-r--r-- | components/script/layout_image.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/layout_image.rs b/components/script/layout_image.rs index 553972d24b1..91bb021d060 100644 --- a/components/script/layout_image.rs +++ b/components/script/layout_image.rs @@ -78,5 +78,5 @@ pub fn fetch_image_for_layout(url: ServoUrl, }; // Layout image loads do not delay the document load event. - document.loader().fetch_async_background(request, action_sender); + document.loader_mut().fetch_async_background(request, action_sender); } |