mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
layout: Limit visibility of some types and removed unused enum variants / data (#38428)
Testing: This change mainly removes dead code, so no tests necessary. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
e78d8818a0
commit
a7b232ef4c
7 changed files with 16 additions and 24 deletions
|
@ -49,7 +49,7 @@ use wr::units::LayoutVector2D;
|
|||
|
||||
use crate::cell::ArcRefCell;
|
||||
use crate::context::{ImageResolver, ResolvedImage};
|
||||
pub use crate::display_list::conversions::ToWebRender;
|
||||
pub(crate) use crate::display_list::conversions::ToWebRender;
|
||||
use crate::display_list::stacking_context::StackingContextSection;
|
||||
use crate::fragment_tree::{
|
||||
BackgroundMode, BoxFragment, Fragment, FragmentFlags, FragmentTree, SpecificLayoutInfo, Tag,
|
||||
|
@ -68,7 +68,7 @@ mod gradient;
|
|||
mod stacking_context;
|
||||
|
||||
use background::BackgroundPainter;
|
||||
pub use stacking_context::*;
|
||||
pub(crate) use stacking_context::*;
|
||||
|
||||
// webrender's `ItemTag` is private.
|
||||
type ItemTag = (u64, u16);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue