diff options
author | Pu Xingyu <pu.stshine@gmail.com> | 2017-01-04 13:33:58 +0800 |
---|---|---|
committer | Pu Xingyu <pu.stshine@gmail.com> | 2017-02-06 00:44:11 +0800 |
commit | f07bfaa97466018f93124e308556aa93293cf648 (patch) | |
tree | e7856552cdc64c93b06377f2533ec1188696bbee /components/layout/construct.rs | |
parent | cd63f1b158807035d2a83584e64329015a3fff4d (diff) | |
download | servo-f07bfaa97466018f93124e308556aa93293cf648.tar.gz servo-f07bfaa97466018f93124e308556aa93293cf648.zip |
Remove redundant style_context() method of LayoutContext
Diffstat (limited to 'components/layout/construct.rs')
-rw-r--r-- | components/layout/construct.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/construct.rs b/components/layout/construct.rs index 95603f8dea7..046fd19afc4 100644 --- a/components/layout/construct.rs +++ b/components/layout/construct.rs @@ -333,7 +333,7 @@ impl<'a, ConcreteThreadSafeLayoutNode: ThreadSafeLayoutNode> #[inline] fn style_context(&self) -> &SharedStyleContext { - self.layout_context.style_context() + self.layout_context.shared_context() } #[inline] |