aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/parse/xml.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2016-06-03 01:26:01 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2016-06-03 01:31:52 +0200
commit2ef143745753d3600b6135e7ecdee7c603799d71 (patch)
tree89cd66d8b4ac2bfd1d393899140544f2858bfe9b /components/script/parse/xml.rs
parente8e7c6545d714a64d7971fad74f2b2c538dbed65 (diff)
downloadservo-2ef143745753d3600b6135e7ecdee7c603799d71.tar.gz
servo-2ef143745753d3600b6135e7ecdee7c603799d71.zip
Replace HTMLScriptElement::mark_script_already_started by set_script_already_started
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);
}
}