mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Use a wrapper class to maintain the mBinding invariant and stop resolving during the cascade.
This commit is contained in:
parent
e0f1855c10
commit
16e04046b5
4 changed files with 369 additions and 428 deletions
|
@ -150,11 +150,6 @@ impl SpecifiedUrl {
|
|||
}
|
||||
}
|
||||
|
||||
/// Check if it has a resolved URI
|
||||
pub fn has_resolved(&self) -> bool {
|
||||
self.resolved.is_some()
|
||||
}
|
||||
|
||||
/// Creates an already specified url value from an already resolved URL
|
||||
/// for insertion in the cascade.
|
||||
pub fn for_cascade(url: ServoUrl, extra_data: UrlExtraData) -> Self {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue