mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Remove sources of panic when laying out an iframe without a nested browsing context.
This commit is contained in:
parent
6a791cd7f2
commit
fbfb9a80b4
6 changed files with 58 additions and 30 deletions
|
@ -488,10 +488,10 @@ impl ImageFragmentInfo {
|
|||
/// size of this iframe can be communicated via the constellation to the iframe's own layout thread.
|
||||
#[derive(Clone)]
|
||||
pub struct IframeFragmentInfo {
|
||||
/// The frame ID of this iframe.
|
||||
pub browsing_context_id: BrowsingContextId,
|
||||
/// The pipelineID of this iframe.
|
||||
pub pipeline_id: PipelineId,
|
||||
/// The frame ID of this iframe. None if there is no nested browsing context.
|
||||
pub browsing_context_id: Option<BrowsingContextId>,
|
||||
/// The pipelineID of this iframe. None if there is no nested browsing context.
|
||||
pub pipeline_id: Option<PipelineId>,
|
||||
}
|
||||
|
||||
impl IframeFragmentInfo {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue