mirror of
https://github.com/servo/servo.git
synced 2025-08-04 05:00:08 +01:00
Remove the unsafe Sync implementation for SharedLayoutContext.
This commit is contained in:
parent
647232a495
commit
5462afaa8f
1 changed files with 0 additions and 5 deletions
|
@ -126,11 +126,6 @@ pub struct SharedLayoutContext {
|
||||||
pub goal: ReflowGoal,
|
pub goal: ReflowGoal,
|
||||||
}
|
}
|
||||||
|
|
||||||
// FIXME(#6569) This implementations is unsound:
|
|
||||||
// XXX UNSOUND!!! for image_cache_task
|
|
||||||
#[allow(unsafe_code)]
|
|
||||||
unsafe impl Sync for SharedLayoutContext {}
|
|
||||||
|
|
||||||
pub struct LayoutContext<'a> {
|
pub struct LayoutContext<'a> {
|
||||||
pub shared: &'a SharedLayoutContext,
|
pub shared: &'a SharedLayoutContext,
|
||||||
cached_local_layout_context: Rc<LocalLayoutContext>,
|
cached_local_layout_context: Rc<LocalLayoutContext>,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue