diff --git a/src/servo/layout/base.rs b/src/servo/layout/base.rs index 6a46e66de89..284c7aa65f0 100644 --- a/src/servo/layout/base.rs +++ b/src/servo/layout/base.rs @@ -34,6 +34,7 @@ impl BoxKind : cmp::Eq { pure fn eq(&&other: BoxKind) -> bool { match (self, other) { (BlockBox, BlockBox) => true, + (InlineBox, InlineBox) => true, _ => fail ~"unimplemented case in BoxKind.eq" } }