mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update uuid
This commit is contained in:
parent
9a41af68a4
commit
36c4208f22
13 changed files with 57 additions and 58 deletions
|
@ -109,7 +109,7 @@ time = "0.1.12"
|
|||
unicode-segmentation = "1.1.0"
|
||||
url = "1.6"
|
||||
utf-8 = "0.7"
|
||||
uuid = {version = "0.6", features = ["v4"]}
|
||||
uuid = {version = "0.7", features = ["v4"]}
|
||||
xml5ever = {version = "0.12"}
|
||||
webrender_api = {git = "https://github.com/servo/webrender", features = ["ipc"]}
|
||||
webvr_traits = {path = "../webvr_traits"}
|
||||
|
|
|
@ -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