aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/parse/xml.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/parse/xml.rs')
-rw-r--r--components/script/parse/xml.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/parse/xml.rs b/components/script/parse/xml.rs
index 3dd0f89f03d..ee0959d04ef 100644
--- a/components/script/parse/xml.rs
+++ b/components/script/parse/xml.rs
@@ -107,7 +107,7 @@ impl<'a> TreeSink for servoxmlparser::Sink {
fn mark_script_already_started(&mut self, node: Self::Handle) {
let script = node.downcast::<HTMLScriptElement>();
if let Some(script) = script {
- script.mark_already_started();
+ script.set_already_started(true);
}
}