mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 833808 followup. Placate over-strict test in CLOSED TREE.
This commit is contained in:
parent
bc5e265a90
commit
611e42c796
@ -199,7 +199,7 @@ GetRuleFromDOMRule(nsIDOMCSSStyleRule *aRule, ErrorResult& rv)
|
||||
{
|
||||
nsCOMPtr<nsICSSStyleRuleDOMWrapper> rule = do_QueryInterface(aRule);
|
||||
if (!rule) {
|
||||
rv.Throw(NS_ERROR_INVALID_ARG);
|
||||
rv.Throw(NS_ERROR_INVALID_POINTER);
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user