mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Remove FlexFlowDisplayListBuilding
This commit is contained in:
parent
21cca5bb53
commit
a92dd09fc9
3 changed files with 6 additions and 17 deletions
|
@ -22,7 +22,6 @@ use crate::display_list::items::{PopAllTextShadowsDisplayItem, PushTextShadowDis
|
|||
use crate::display_list::items::{StackingContext, StackingContextType, StickyFrameData};
|
||||
use crate::display_list::items::{TextOrientation, WebRenderImageInfo};
|
||||
use crate::display_list::ToLayout;
|
||||
use crate::flex::FlexFlow;
|
||||
use crate::flow::{BaseFlow, Flow, FlowFlags};
|
||||
use crate::flow_ref::FlowRef;
|
||||
use crate::fragment::SpecificFragmentInfo;
|
||||
|
@ -2790,18 +2789,6 @@ impl BlockFlow {
|
|||
}
|
||||
}
|
||||
|
||||
pub trait FlexFlowDisplayListBuilding {
|
||||
fn build_display_list_for_flex(&mut self, state: &mut DisplayListBuildState);
|
||||
}
|
||||
|
||||
impl FlexFlowDisplayListBuilding for FlexFlow {
|
||||
fn build_display_list_for_flex(&mut self, state: &mut DisplayListBuildState) {
|
||||
// Draw the rest of the block.
|
||||
self.as_mut_block()
|
||||
.build_display_list_for_block(state, BorderPaintingMode::Separate)
|
||||
}
|
||||
}
|
||||
|
||||
impl BaseFlow {
|
||||
pub fn build_display_items_for_debugging_tint(
|
||||
&self,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue