aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2016-04-07 09:00:22 +0200
committerMs2ger <Ms2ger@gmail.com>2016-04-07 09:00:22 +0200
commit489d2e5e4911cd3d483b1d3d98c9753142616948 (patch)
treeea0e526a1fbe03bed87336a589360770234973c1 /components/script
parent1a6245828a96e3afda8eb8661df0834fde3dfea6 (diff)
downloadservo-489d2e5e4911cd3d483b1d3d98c9753142616948.tar.gz
servo-489d2e5e4911cd3d483b1d3d98c9753142616948.zip
Update uuid.
Diffstat (limited to 'components/script')
-rw-r--r--components/script/Cargo.toml2
-rw-r--r--components/script/dom/node.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/components/script/Cargo.toml b/components/script/Cargo.toml
index fb90edec267..6a8a5d1b25e 100644
--- a/components/script/Cargo.toml
+++ b/components/script/Cargo.toml
@@ -95,5 +95,5 @@ string_cache = {version = "0.2.11", features = ["heap_size", "unstable"]}
time = "0.1.12"
unicase = "1.0"
url = {version = "0.5.7", features = ["heap_size"]}
-uuid = "0.1.16"
+uuid = { version = "0.2", features = ["v4"] }
websocket = "0.16.1"
diff --git a/components/script/dom/node.rs b/components/script/dom/node.rs
index 39ad21a46b6..99648369357 100644
--- a/components/script/dom/node.rs
+++ b/components/script/dom/node.rs
@@ -799,7 +799,7 @@ impl Node {
}
pub fn unique_id(&self) -> String {
- self.unique_id.borrow().to_simple_string()
+ self.unique_id.borrow().simple().to_string()
}
pub fn summarize(&self) -> NodeInfo {