This commit is contained in:
Olli Pettay 2009-07-21 14:58:30 +03:00
Родитель cf80630b4c
Коммит d6f0680d20
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -238,6 +238,7 @@ nsTextBoxFrame::UpdateAccesskey(nsWeakFrame& aWeakThis)
{
nsAutoString accesskey;
nsCOMPtr<nsIDOMXULLabelElement> labelElement = do_QueryInterface(mContent);
NS_ENSURE_TRUE(aWeakThis.IsAlive(), PR_FALSE);
if (labelElement) {
// Accesskey may be stored on control.
// Because this method is called by the reflow callback, current context