diff options
author | Patrick Walton <pcwalton@mimiga.net> | 2014-11-25 22:58:43 -0800 |
---|---|---|
committer | Patrick Walton <pcwalton@mimiga.net> | 2014-12-15 14:16:20 -0800 |
commit | a200b139b6743d757aa35193f03c2c6f79e6aa99 (patch) | |
tree | 7f6bc36f5a63c1e04f418b9ddfd7aa2df33de7c5 /components/layout/layout_task.rs | |
parent | d101c1dd91ddcd030cd85a22825835bc3eca50ea (diff) | |
download | servo-a200b139b6743d757aa35193f03c2c6f79e6aa99.tar.gz servo-a200b139b6743d757aa35193f03c2c6f79e6aa99.zip |
script: Add some workarounds for image cache task races
Diffstat (limited to 'components/layout/layout_task.rs')
-rw-r--r-- | components/layout/layout_task.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/components/layout/layout_task.rs b/components/layout/layout_task.rs index 995742cd745..deda7d481c7 100644 --- a/components/layout/layout_task.rs +++ b/components/layout/layout_task.rs @@ -590,6 +590,8 @@ impl LayoutTask { requested_node: TrustedNodeAddress, layout_root: &mut FlowRef, rw_data: &mut RWGuard<'a>) { + // FIXME(pcwalton): This has not been updated to handle the stacking context relative + // stuff. So the position is wrong in most cases. let requested_node: OpaqueNode = OpaqueNodeMethods::from_script_node(requested_node); let mut iterator = UnioningFragmentBoundsIterator::new(requested_node); sequential::iterate_through_flow_tree_fragment_bounds(layout_root, &mut iterator); @@ -600,6 +602,8 @@ impl LayoutTask { requested_node: TrustedNodeAddress, layout_root: &mut FlowRef, rw_data: &mut RWGuard<'a>) { + // FIXME(pcwalton): This has not been updated to handle the stacking context relative + // stuff. So the position is wrong in most cases. let requested_node: OpaqueNode = OpaqueNodeMethods::from_script_node(requested_node); let mut iterator = CollectingFragmentBoundsIterator::new(requested_node); sequential::iterate_through_flow_tree_fragment_bounds(layout_root, &mut iterator); |