mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Added a TopLevelBrowsingContextId type.
This commit is contained in:
parent
b428a94326
commit
42577365b7
15 changed files with 407 additions and 234 deletions
|
@ -1136,7 +1136,7 @@ impl LayoutNodeHelpers for LayoutJS<Node> {
|
|||
fn iframe_browsing_context_id(&self) -> BrowsingContextId {
|
||||
let iframe_element = self.downcast::<HTMLIFrameElement>()
|
||||
.expect("not an iframe element!");
|
||||
iframe_element.browsing_context_id()
|
||||
iframe_element.browsing_context_id().unwrap()
|
||||
}
|
||||
|
||||
fn iframe_pipeline_id(&self) -> PipelineId {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue