mirror of
https://github.com/servo/servo.git
synced 2025-06-17 12:54:28 +00:00
Remove redundant style_context() method of LayoutContext
This commit is contained in:
parent
cd63f1b158
commit
f07bfaa974
3 changed files with 3 additions and 11 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue