diff options
author | Nicolas Silva <nical@fastmail.com> | 2017-06-06 16:19:27 +0200 |
---|---|---|
committer | Nicolas Silva <nical@fastmail.com> | 2017-06-14 16:01:01 +0200 |
commit | 997608f11f6dfa79291ead25cae46a0538f2a3dc (patch) | |
tree | c231afafc66f7f3e2404769e083c176d2a13057d /components/layout/query.rs | |
parent | 8617320500491fab91979404cec2087bac7ef362 (diff) | |
download | servo-997608f11f6dfa79291ead25cae46a0538f2a3dc.tar.gz servo-997608f11f6dfa79291ead25cae46a0538f2a3dc.zip |
Make BaseFlow::stacking_relative_position a vector.
Diffstat (limited to 'components/layout/query.rs')
-rw-r--r-- | components/layout/query.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/query.rs b/components/layout/query.rs index 2f406261c2d..ae7a506124b 100644 --- a/components/layout/query.rs +++ b/components/layout/query.rs @@ -772,7 +772,7 @@ fn process_resolved_style_request_internal<'a, N>(requested_node: N, let position = maybe_data.map_or(Point2D::zero(), |data| { match (*data).flow_construction_result { ConstructionResult::Flow(ref flow_ref, _) => - flow::base(flow_ref.deref()).stacking_relative_position, + flow::base(flow_ref.deref()).stacking_relative_position.to_point(), // TODO(dzbarsky) search parents until we find node with a flow ref. // https://github.com/servo/servo/issues/8307 _ => Point2D::zero() |