diff options
author | Keegan McAllister <mcallister.keegan@gmail.com> | 2014-09-20 15:35:08 -0700 |
---|---|---|
committer | Keegan McAllister <mcallister.keegan@gmail.com> | 2014-09-20 15:35:08 -0700 |
commit | 045328c8e94f5bdfcd67105c5dfa9209f4cd501c (patch) | |
tree | 1d5f8d958e12ae59e0ac720a7873e3c3b08cb1e8 /components/layout/fragment.rs | |
parent | d6ba37c68c34a3748a789caeca225083275757e5 (diff) | |
parent | a40b94d7f946d75e1a66af206efda9879b89c707 (diff) | |
download | servo-045328c8e94f5bdfcd67105c5dfa9209f4cd501c.tar.gz servo-045328c8e94f5bdfcd67105c5dfa9209f4cd501c.zip |
Merge pull request #3438 from servo/rustup
Upgrade Rust
Diffstat (limited to 'components/layout/fragment.rs')
-rw-r--r-- | components/layout/fragment.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/fragment.rs b/components/layout/fragment.rs index 61c7bb2a61b..c695c038c8a 100644 --- a/components/layout/fragment.rs +++ b/components/layout/fragment.rs @@ -467,7 +467,7 @@ impl Fragment { if self.inline_context.is_none() { self.inline_context = Some(InlineFragmentContext::new()); } - self.inline_context.get_mut_ref().styles.push(style.clone()); + self.inline_context.as_mut().unwrap().styles.push(style.clone()); } /// Uses the style only to estimate the intrinsic inline-sizes. These may be modified for text or |