mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Move evaluate_script to Runtime.
This commit is contained in:
parent
a12ad3c1cf
commit
9abe47b76f
5 changed files with 5 additions and 5 deletions
|
@ -136,7 +136,7 @@ impl<'a> WorkerGlobalScopeMethods for JSRef<'a, WorkerGlobalScope> {
|
|||
}
|
||||
};
|
||||
|
||||
match self.runtime.cx.evaluate_script(
|
||||
match self.runtime.evaluate_script(
|
||||
self.reflector().get_jsobject(), source, url.serialize(), 1) {
|
||||
Ok(_) => (),
|
||||
Err(_) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue