aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_layout_interface/wrapper_traits.rs
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <emilio@crisal.io>2018-01-04 14:45:54 +0100
committerEmilio Cobos Álvarez <emilio@crisal.io>2018-01-04 14:45:54 +0100
commitf3ea2481884ec957d7c4f5fa2fc395753f4a574f (patch)
tree1824830484d93d11d9c01fbe990b0d562c563e8a /components/script_layout_interface/wrapper_traits.rs
parent10a1e1e15f713756ebb38509d619abb3c79a1f25 (diff)
downloadservo-f3ea2481884ec957d7c4f5fa2fc395753f4a574f.tar.gz
servo-f3ea2481884ec957d7c4f5fa2fc395753f4a574f.zip
style: Remove TNode::set_can_be_fragmented and TNode::can_be_fragmented.
Replace them instead by a computed value flag, the same way as the IS_IN_DISPLAY_NONE_SUBTREE flag works.
Diffstat (limited to 'components/script_layout_interface/wrapper_traits.rs')
-rw-r--r--components/script_layout_interface/wrapper_traits.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/components/script_layout_interface/wrapper_traits.rs b/components/script_layout_interface/wrapper_traits.rs
index 49f157f9158..8a47117a0ce 100644
--- a/components/script_layout_interface/wrapper_traits.rs
+++ b/components/script_layout_interface/wrapper_traits.rs
@@ -240,8 +240,6 @@ pub trait ThreadSafeLayoutNode: Clone + Copy + Debug + GetLayoutData + NodeInfo
/// data flags, and we have this annoying trait separation between script and layout :-(
unsafe fn unsafe_get(self) -> Self::ConcreteNode;
- fn can_be_fragmented(&self) -> bool;
-
fn node_text_content(&self) -> String;
/// If the insertion point is within this node, returns it. Otherwise, returns `None`.