aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/lib.rs')
-rw-r--r--components/layout/lib.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/components/layout/lib.rs b/components/layout/lib.rs
index 1e48a2b5a6d..f9c3cbeda2b 100644
--- a/components/layout/lib.rs
+++ b/components/layout/lib.rs
@@ -90,12 +90,3 @@ pub use self::data::LayoutData;
// We can't use servo_arc for everything in layout, because the Flow stuff uses
// weak references.
use servo_arc::Arc as ServoArc;
-
-/// Stable copy of std::raw::TraitObject
-/// test/unit/layout/lib.rs asserts that the memory layout matches.
-#[repr(C)]
-#[derive(Clone, Copy)]
-pub struct TraitObject {
- pub data: *mut (),
- pub vtable: *mut (),
-}