diff options
Diffstat (limited to 'components/script_traits/lib.rs')
-rw-r--r-- | components/script_traits/lib.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/components/script_traits/lib.rs b/components/script_traits/lib.rs index 468cfb19fb3..9dd0ba04134 100644 --- a/components/script_traits/lib.rs +++ b/components/script_traits/lib.rs @@ -739,8 +739,6 @@ pub struct IFrameLoadInfoWithData { pub old_pipeline_id: Option<PipelineId>, /// Sandbox type of this iframe pub sandbox: IFrameSandboxState, - /// The initial viewport size for this iframe. - pub window_size: WindowSizeData, } /// Specifies whether the script or layout thread needs to be ticked for animation. @@ -762,7 +760,7 @@ pub struct ScrollState { } /// Data about the window size. -#[derive(Clone, Copy, Debug, Deserialize, MallocSizeOf, PartialEq, Serialize)] +#[derive(Clone, Copy, Debug, Deserialize, MallocSizeOf, Serialize)] pub struct WindowSizeData { /// The size of the initial layout viewport, before parsing an /// <http://www.w3.org/TR/css-device-adapt/#initial-viewport> |