Bug 529750 followup. Disable assert that actually fails at the moment to fix orange.

This commit is contained in:
Boris Zbarsky 2011-05-23 19:47:35 -04:00
parent 7e9e46aeee
commit c928fa0f85

View File

@ -62,8 +62,10 @@ public:
}
void Forward(nsIStyleRule* aRule) {
NS_PRECONDITION(!nsRefPtr<mozilla::css::StyleRule>(do_QueryObject(aRule)),
"Calling the wrong Forward() overload");
// We'd like to assert that this is not a StyleRule, but unfortunately
// ResolveStyleByAddingRules can be passed both style and non-style rules.
// NS_PRECONDITION(!nsRefPtr<mozilla::css::StyleRule>(do_QueryObject(aRule)),
// "Calling the wrong Forward() overload");
DoForward(aRule);
}
void Forward(mozilla::css::StyleRule* aRule) {