зеркало из https://github.com/mozilla/pjs.git
Fixing crash regression bug 131032. r=jkeiser, sr=ben, a=asa.
This commit is contained in:
Родитель
05df5a0e6e
Коммит
e9e973c877
|
@ -885,7 +885,8 @@ nsHTMLInputElement::SetCheckedInternal(PRBool aChecked)
|
|||
|
||||
// Notify the document that the CSS :checked pseudoclass for this element
|
||||
// has changed state.
|
||||
mDocument->ContentStatesChanged(this, nsnull, nsCSSAtoms::checkedPseudo);
|
||||
if (mDocument)
|
||||
mDocument->ContentStatesChanged(this, nsnull, nsCSSAtoms::checkedPseudo);
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче