Bug 833808 followup. Placate over-strict test in CLOSED TREE.

This commit is contained in:
Boris Zbarsky 2013-02-13 11:32:40 -05:00
parent bc5e265a90
commit 611e42c796

View File

@ -199,7 +199,7 @@ GetRuleFromDOMRule(nsIDOMCSSStyleRule *aRule, ErrorResult& rv)
{ {
nsCOMPtr<nsICSSStyleRuleDOMWrapper> rule = do_QueryInterface(aRule); nsCOMPtr<nsICSSStyleRuleDOMWrapper> rule = do_QueryInterface(aRule);
if (!rule) { if (!rule) {
rv.Throw(NS_ERROR_INVALID_ARG); rv.Throw(NS_ERROR_INVALID_POINTER);
return nullptr; return nullptr;
} }