mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 837416 follow-up: don't throw success
This commit is contained in:
parent
8aaab85573
commit
8ca971b7f9
@ -102,7 +102,10 @@ HTMLStyleElement::SetDisabled(bool aDisabled, ErrorResult& aError)
|
||||
return;
|
||||
}
|
||||
|
||||
aError.Throw(ss->SetDisabled(aDisabled));
|
||||
nsresult result = ss->SetDisabled(aDisabled);
|
||||
if (NS_FAILED(result)) {
|
||||
aError.Throw(result);
|
||||
}
|
||||
}
|
||||
|
||||
NS_IMPL_STRING_ATTR(HTMLStyleElement, Media, media)
|
||||
|
Loading…
Reference in New Issue
Block a user