diff options
Diffstat (limited to 'components/layout/fragment.rs')
-rw-r--r-- | components/layout/fragment.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/layout/fragment.rs b/components/layout/fragment.rs index c4dfefcc696..7bbe57953fc 100644 --- a/components/layout/fragment.rs +++ b/components/layout/fragment.rs @@ -26,7 +26,7 @@ use ipc_channel::ipc::IpcSender; use layout_debug; use model::{self, IntrinsicISizes, IntrinsicISizesContribution, MaybeAuto, SizeConstraint}; use model::{style_length, ToGfxMatrix}; -use msg::constellation_msg::{FrameId, PipelineId}; +use msg::constellation_msg::{BrowsingContextId, PipelineId}; use net_traits::image::base::{Image, ImageMetadata}; use net_traits::image_cache::{ImageOrMetadataAvailable, UsePlaceholder}; use range::*; @@ -472,7 +472,7 @@ impl ImageFragmentInfo { #[derive(Clone)] pub struct IframeFragmentInfo { /// The frame ID of this iframe. - pub frame_id: FrameId, + pub browsing_context_id: BrowsingContextId, /// The pipelineID of this iframe. pub pipeline_id: PipelineId, } @@ -480,10 +480,10 @@ pub struct IframeFragmentInfo { impl IframeFragmentInfo { /// Creates the information specific to an iframe fragment. pub fn new<N: ThreadSafeLayoutNode>(node: &N) -> IframeFragmentInfo { - let frame_id = node.iframe_frame_id(); + let browsing_context_id = node.iframe_browsing_context_id(); let pipeline_id = node.iframe_pipeline_id(); IframeFragmentInfo { - frame_id: frame_id, + browsing_context_id: browsing_context_id, pipeline_id: pipeline_id, } } |