mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Rename Document::mut_loader to loader_mut
This commit is contained in:
parent
f3214372bf
commit
da392e3524
3 changed files with 3 additions and 3 deletions
|
@ -51,7 +51,7 @@ pub struct LoadBlocker {
|
|||
impl LoadBlocker {
|
||||
/// Mark the document's load event as blocked on this new load.
|
||||
pub fn new(doc: &Document, load: LoadType) -> LoadBlocker {
|
||||
doc.mut_loader().add_blocking_load(load.clone());
|
||||
doc.loader_mut().add_blocking_load(load.clone());
|
||||
LoadBlocker {
|
||||
doc: JS::from_ref(doc),
|
||||
load: Some(load),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue