mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Implement discarding Document objects to reclaim space.
This commit is contained in:
parent
955e2851bf
commit
78c87ea8d7
8 changed files with 301 additions and 218 deletions
|
@ -24,7 +24,7 @@ use std::path::Path;
|
|||
use std::sync::Arc;
|
||||
use url::{Url, Origin, Position};
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||
#[cfg_attr(feature = "servo", derive(HeapSizeOf, Serialize, Deserialize))]
|
||||
pub struct ServoUrl(Arc<Url>);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue