mirror of
https://github.com/servo/servo
synced 2026-04-27 18:07:52 +02:00
Replace the remaining to_string calls by into_string calls.
This commit is contained in:
@@ -210,7 +210,7 @@ impl<'a> HTMLScriptElementHelpers for JSRef<'a, HTMLScriptElement> {
|
||||
window.evaluate_script_with_result(source.as_slice(), url.serialize().as_slice());
|
||||
|
||||
let event = Event::new(GlobalRef::Window(*window),
|
||||
"load".to_string(),
|
||||
"load".into_string(),
|
||||
EventBubbles::DoesNotBubble,
|
||||
EventCancelable::NotCancelable).root();
|
||||
event.set_trusted(true);
|
||||
|
||||
Reference in New Issue
Block a user