Fix feature check for Gecko-specific assertions.

This commit is contained in:
Cameron McCormack 2016-12-14 13:53:09 +08:00
parent 75c869d508
commit 33ac29e830
2 changed files with 2 additions and 2 deletions

View file

@ -739,7 +739,7 @@ pub trait MatchMethods : TElement {
// some small piece of newly-added content in order to do something
// specific with that frame, but not wanting to flush all of
// layout).
debug_assert!(cfg!(gecko) || d.has_current_styles());
debug_assert!(cfg!(feature = "gecko") || d.has_current_styles());
&d.styles().primary.values
});