Use a wrapper class to maintain the mBinding invariant and stop resolving during the cascade.

This commit is contained in:
Bobby Holley 2017-03-16 23:00:33 -07:00
parent e0f1855c10
commit 16e04046b5
4 changed files with 369 additions and 428 deletions

View file

@ -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 {