aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/construct.rs
diff options
context:
space:
mode:
authorPu Xingyu <pu.stshine@gmail.com>2017-01-04 13:33:58 +0800
committerPu Xingyu <pu.stshine@gmail.com>2017-02-06 00:44:11 +0800
commitf07bfaa97466018f93124e308556aa93293cf648 (patch)
treee7856552cdc64c93b06377f2533ec1188696bbee /components/layout/construct.rs
parentcd63f1b158807035d2a83584e64329015a3fff4d (diff)
downloadservo-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.rs2
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]