mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +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
|
@ -58,7 +58,7 @@ impl WebGLContextEvent {
|
|||
init: &WebGLContextEventInit) -> Fallible<Root<WebGLContextEvent>> {
|
||||
let status_message = match init.statusMessage.as_ref() {
|
||||
Some(message) => message.clone(),
|
||||
None => "".to_owned(),
|
||||
None => DOMString::new(),
|
||||
};
|
||||
|
||||
let bubbles = if init.parent.bubbles {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue