mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Removed root browsing context from constellation.
This commit is contained in:
parent
ad47d33511
commit
2fd925bac9
5 changed files with 181 additions and 153 deletions
|
@ -318,6 +318,18 @@ impl From<TopLevelBrowsingContextId> for BrowsingContextId {
|
|||
}
|
||||
}
|
||||
|
||||
impl PartialEq<TopLevelBrowsingContextId> for BrowsingContextId {
|
||||
fn eq(&self, rhs: &TopLevelBrowsingContextId) -> bool {
|
||||
self.eq(&rhs.0)
|
||||
}
|
||||
}
|
||||
|
||||
impl PartialEq<BrowsingContextId> for TopLevelBrowsingContextId {
|
||||
fn eq(&self, rhs: &BrowsingContextId) -> bool {
|
||||
self.0.eq(rhs)
|
||||
}
|
||||
}
|
||||
|
||||
// We provide ids just for unit testing.
|
||||
pub const TEST_NAMESPACE: PipelineNamespaceId = PipelineNamespaceId(1234);
|
||||
pub const TEST_PIPELINE_INDEX: PipelineIndex = PipelineIndex(5678);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue