mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
script: Use String::new()
instead of the formatting infrastructure
when constructing DOM unique IDs. This was showing up in the RoboHornet profile.
This commit is contained in:
parent
6f577c7c84
commit
e034c1cee2
1 changed files with 1 additions and 1 deletions
|
@ -1156,7 +1156,7 @@ impl Node {
|
|||
|
||||
layout_data: LayoutDataRef::new(),
|
||||
|
||||
unique_id: DOMRefCell::new("".to_string()),
|
||||
unique_id: DOMRefCell::new(String::new()),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue