Skip to content
Permalink
Browse files

Remove more stuff from layout_2020

  • Loading branch information...
nox committed Aug 2, 2019
1 parent 9b4b022 commit 053e361e2f6391c7c974a16257418b296ed3a4ca

This file was deleted.

@@ -2,9 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */

pub use self::builder::IndexableText;
pub use self::webrender_helpers::WebRenderDisplayListConverter;

mod builder;
pub mod items;
mod webrender_helpers;

This file was deleted.

This file was deleted.

@@ -8,7 +8,6 @@ use crate::context::LayoutContext;
use crate::display_list::items::OpaqueNode;
use crate::ServoArc;
use app_units::Au;
use euclid::default::Rect;
use script_layout_interface::wrapper_traits::{PseudoElementType, ThreadSafeLayoutNode};
use serde::ser::{Serialize, SerializeStruct, Serializer};
use style::logical_geometry::{LogicalMargin, LogicalRect};
@@ -98,13 +97,3 @@ impl Fragment {
true
}
}

/// A top-down fragment border box iteration handler.
pub trait FragmentBorderBoxIterator {
/// The operation to perform.
fn process(&mut self, fragment: &Fragment, level: i32, overflow: &Rect<Au>);

/// Returns true if this fragment must be processed in-order. If this returns false,
/// we skip the operation for this fragment, but continue processing siblings.
fn should_process(&mut self, fragment: &Fragment) -> bool;
}
@@ -10,8 +10,6 @@ extern crate serde;
pub mod context;
pub mod data;
pub mod display_list;
pub mod flow;
pub mod flow_ref;
mod fragment;
pub mod opaque_node;
pub mod query;
@@ -21,6 +19,4 @@ pub mod wrapper;
// For unit tests:
pub use crate::fragment::Fragment;

// We can't use servo_arc for everything in layout, because the Flow stuff uses
// weak references.
use servo_arc::Arc as ServoArc;

0 comments on commit 053e361

Please sign in to comment.
You can’t perform that action at this time.