mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Use DOMString::new() somewhat consistently.
This commit is contained in:
parent
dab3926622
commit
e6aa976462
24 changed files with 67 additions and 68 deletions
|
@ -124,7 +124,7 @@ impl<T: ClipboardProvider> TextInput<T> {
|
|||
if self.selection_begin.is_none() {
|
||||
self.adjust_horizontal_by_one(dir, Selection::Selected);
|
||||
}
|
||||
self.replace_selection("".to_owned());
|
||||
self.replace_selection(DOMString::new());
|
||||
}
|
||||
|
||||
/// Insert a character at the current editing point
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue