aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/block.rs
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2017-03-18 00:47:08 +0100
committerSimon Sapin <simon.sapin@exyr.org>2017-03-19 22:30:37 +0100
commitaeffca2a5900ebcf91063e9c7771b642817cb6bd (patch)
tree35a2a3513088fa303d96ed522d5c12eb29d6518c /components/layout/block.rs
parent57724e5a3755a757e502658094dfda171c78ba78 (diff)
downloadservo-aeffca2a5900ebcf91063e9c7771b642817cb6bd.tar.gz
servo-aeffca2a5900ebcf91063e9c7771b642817cb6bd.zip
Replace RwLock<StyleRule> with Locked<StyleRule>
Diffstat (limited to 'components/layout/block.rs')
-rw-r--r--components/layout/block.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/block.rs b/components/layout/block.rs
index 4bfef78cb3d..31f44f0ec0e 100644
--- a/components/layout/block.rs
+++ b/components/layout/block.rs
@@ -446,7 +446,7 @@ fn translate_including_floats(cur_b: &mut Au, delta: Au, floats: &mut Floats) {
///
/// Note that flows with position 'fixed' just form a flat list as they all
/// have the Root flow as their CB.
-pub struct AbsoluteAssignBSizesTraversal<'a>(pub &'a SharedStyleContext);
+pub struct AbsoluteAssignBSizesTraversal<'a>(pub &'a SharedStyleContext<'a>);
impl<'a> PreorderFlowTraversal for AbsoluteAssignBSizesTraversal<'a> {
#[inline]