mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
style: Allow placeholder import sheets.
This is necessary because we can't create GeckoStyleSheets off-main-thread, so we need a placeholder until it can be filled in. Bug: 1454030 Reviewed-by: emilio MozReview-Commit-ID: ssRme4fLYg
This commit is contained in:
parent
441f1cd231
commit
afe484e46b
7 changed files with 152 additions and 71 deletions
|
@ -478,7 +478,7 @@ where
|
|||
sheet: &S,
|
||||
guard: &SharedRwLockReadGuard,
|
||||
) -> &mut SheetCollection<S> {
|
||||
let origin = sheet.contents(guard).origin;
|
||||
let origin = sheet.origin(guard);
|
||||
self.collections.borrow_mut_for_origin(&origin)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue