diff options
author | aditya <dev@chimeracoder.net> | 2015-04-02 12:17:12 -0400 |
---|---|---|
committer | aditya <dev@chimeracoder.net> | 2015-04-02 16:09:48 -0400 |
commit | a3eaacccf60fc05f43f353e859ae2807cec12f59 (patch) | |
tree | b78fbb87828637e4ce1a6a64d8358cc944436ce1 /components/script | |
parent | 85808c1cdd39a3afdc9815247ceb6f0fb7e9a31b (diff) | |
download | servo-a3eaacccf60fc05f43f353e859ae2807cec12f59.tar.gz servo-a3eaacccf60fc05f43f353e859ae2807cec12f59.zip |
Move iframe and url fields from Reflow to LayoutTask and LayoutTaskFactory
* Fix #5466
Diffstat (limited to 'components/script')
-rw-r--r-- | components/script/dom/window.rs | 2 | ||||
-rw-r--r-- | components/script/layout_interface.rs | 4 |
2 files changed, 0 insertions, 6 deletions
diff --git a/components/script/dom/window.rs b/components/script/dom/window.rs index 4c7f6c107fa..c13296cb565 100644 --- a/components/script/dom/window.rs +++ b/components/script/dom/window.rs @@ -567,8 +567,6 @@ impl<'a> WindowHelpers for JSRef<'a, Window> { let reflow = box ScriptReflow { reflow_info: Reflow { goal: goal, - url: self.get_url(), - iframe: self.parent_info.is_some(), page_clip_rect: self.page_clip_rect.get(), }, document_root: root.to_trusted_node_address(), diff --git a/components/script/layout_interface.rs b/components/script/layout_interface.rs index e0671763b13..d04acc36c67 100644 --- a/components/script/layout_interface.rs +++ b/components/script/layout_interface.rs @@ -108,10 +108,6 @@ pub enum ReflowQueryType { pub struct Reflow { /// The goal of reflow: either to render to the screen or to flush layout info for script. pub goal: ReflowGoal, - /// The URL of the page. - pub url: Url, - /// Is the current reflow of an iframe, as opposed to a root window? - pub iframe: bool, /// A clipping rectangle for the page, an enlarged rectangle containing the viewport. pub page_clip_rect: Rect<Au>, } |