mirror of
https://github.com/servo/servo.git
synced 2025-09-29 16:19:14 +01:00
Bump ipc-channel and bincode
This required bumping uuid too which unfortunately duplicated rand.
This commit is contained in:
parent
5b575e3647
commit
570d865065
34 changed files with 152 additions and 107 deletions
|
@ -3,7 +3,6 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use servo_rand;
|
||||
use servo_rand::Rng;
|
||||
use std::cell::RefCell;
|
||||
use std::rc::Rc;
|
||||
use url::{Host, Origin};
|
||||
|
@ -43,7 +42,7 @@ impl ImmutableOrigin {
|
|||
|
||||
/// Creates a new opaque origin that is only equal to itself.
|
||||
pub fn new_opaque() -> ImmutableOrigin {
|
||||
ImmutableOrigin::Opaque(OpaqueOrigin(servo_rand::thread_rng().gen()))
|
||||
ImmutableOrigin::Opaque(OpaqueOrigin(servo_rand::random_uuid()))
|
||||
}
|
||||
|
||||
pub fn scheme(&self) -> Option<&str> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue