Remove redundant style_context() method of LayoutContext

This commit is contained in:
Pu Xingyu 2017-01-04 13:33:58 +08:00
parent cd63f1b158
commit f07bfaa974
3 changed files with 3 additions and 11 deletions

View file

@ -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]