diff options
author | Josh Matthews <josh@joshmatthews.net> | 2015-03-11 10:44:59 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2015-05-20 14:22:09 -0400 |
commit | 8082df7d0da97f1951ae125956b962b92c98e69f (patch) | |
tree | 86131e200a39a6f85afcfff7fa8f6f904e94cc0b /components/script/parse/mod.rs | |
parent | e52197d1261055527a838f74b353a1124d6b077a (diff) | |
download | servo-8082df7d0da97f1951ae125956b962b92c98e69f.tar.gz servo-8082df7d0da97f1951ae125956b962b92c98e69f.zip |
Make external script sources load asynchronously, yet still block further parsing. Hook up document loading to async networking events.
Diffstat (limited to 'components/script/parse/mod.rs')
-rw-r--r-- | components/script/parse/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/parse/mod.rs b/components/script/parse/mod.rs index 6111f196053..fa93dbc157f 100644 --- a/components/script/parse/mod.rs +++ b/components/script/parse/mod.rs @@ -5,6 +5,6 @@ pub mod html; pub trait Parser { - fn parse_chunk(&self,input: String); - fn finish(&self); + fn parse_chunk(self, input: String); + fn finish(self); } |