mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Update uuid
This commit is contained in:
parent
9a41af68a4
commit
36c4208f22
13 changed files with 57 additions and 58 deletions
|
@ -412,7 +412,7 @@ impl BaseAudioContextMethods for BaseAudioContext {
|
|||
if audio_data.len() > 0 {
|
||||
// Step 2.
|
||||
// XXX detach array buffer.
|
||||
let uuid = Uuid::new_v4().simple().to_string();
|
||||
let uuid = Uuid::new_v4().to_simple().to_string();
|
||||
let uuid_ = uuid.clone();
|
||||
self.decode_resolvers.borrow_mut().insert(
|
||||
uuid.clone(),
|
||||
|
|
|
@ -898,7 +898,7 @@ impl Node {
|
|||
}
|
||||
|
||||
pub fn unique_id(&self) -> String {
|
||||
self.unique_id.borrow().simple().to_string()
|
||||
self.unique_id.borrow().to_simple().to_string()
|
||||
}
|
||||
|
||||
pub fn summarize(&self) -> NodeInfo {
|
||||
|
|
|
@ -147,7 +147,7 @@ impl URL {
|
|||
result.push('/');
|
||||
|
||||
// Step 5
|
||||
result.push_str(&id.simple().to_string());
|
||||
result.push_str(&id.to_simple().to_string());
|
||||
|
||||
result
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue