mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Update uuid
This is required to use the new version of gleam and update ipc-channels without duplicating the dependency in the future.
This commit is contained in:
parent
edeed11cef
commit
78464eeabc
8 changed files with 34 additions and 25 deletions
|
@ -447,7 +447,7 @@ impl BaseAudioContextMethods for BaseAudioContext {
|
|||
if audio_data.len() > 0 {
|
||||
// Step 2.
|
||||
// XXX detach array buffer.
|
||||
let uuid = Uuid::new_v4().to_simple().to_string();
|
||||
let uuid = Uuid::new_v4().simple().to_string();
|
||||
let uuid_ = uuid.clone();
|
||||
self.decode_resolvers.borrow_mut().insert(
|
||||
uuid.clone(),
|
||||
|
|
|
@ -1078,7 +1078,7 @@ impl Node {
|
|||
|
||||
if rare_data.unique_id.is_none() {
|
||||
let id = UniqueId::new();
|
||||
ScriptThread::save_node_id(id.borrow().to_simple().to_string());
|
||||
ScriptThread::save_node_id(id.borrow().simple().to_string());
|
||||
rare_data.unique_id = Some(id);
|
||||
}
|
||||
rare_data
|
||||
|
@ -1086,7 +1086,7 @@ impl Node {
|
|||
.as_ref()
|
||||
.unwrap()
|
||||
.borrow()
|
||||
.to_simple()
|
||||
.simple()
|
||||
.to_string()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue