aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/servoparser/mod.rs
diff options
context:
space:
mode:
authorNikhil Shagrithaya <nikhilshagri@gmail.com>2017-02-01 13:45:35 +0530
committerNikhil Shagrithaya <nikhilshagri@gmail.com>2017-05-31 17:28:53 +0530
commit541baafe1c644f5276fe417a4d7e3696d3b22e68 (patch)
tree50a6a4e450dc54b0a943e2527742bc3e768a732d /components/script/dom/servoparser/mod.rs
parent779edd7c4aaf900f12fab378a378b0fc52d4c628 (diff)
downloadservo-541baafe1c644f5276fe417a4d7e3696d3b22e68.tar.gz
servo-541baafe1c644f5276fe417a4d7e3696d3b22e68.zip
Redirect document loads manually
Diffstat (limited to 'components/script/dom/servoparser/mod.rs')
-rw-r--r--components/script/dom/servoparser/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/servoparser/mod.rs b/components/script/dom/servoparser/mod.rs
index af017d58958..254c178f8f6 100644
--- a/components/script/dom/servoparser/mod.rs
+++ b/components/script/dom/servoparser/mod.rs
@@ -527,6 +527,7 @@ impl Tokenizer {
/// The context required for asynchronously fetching a document
/// and parsing it progressively.
+#[derive(JSTraceable)]
pub struct ParserContext {
/// The parser that initiated the request.
parser: Option<Trusted<ServoParser>>,