mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Implement StandaloneStyleContext::new.
This commit is contained in:
parent
cafc0aabdf
commit
a77a5ecb16
2 changed files with 35 additions and 3 deletions
|
@ -50,6 +50,7 @@ pub fn heap_size_of_local_context() -> usize {
|
|||
})
|
||||
}
|
||||
|
||||
// Keep this implementation in sync with the one in ports/geckolib/traversal.rs.
|
||||
fn create_or_get_local_context(shared_layout_context: &SharedLayoutContext)
|
||||
-> Rc<LocalLayoutContext> {
|
||||
LOCAL_CONTEXT_KEY.with(|r| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue