зеркало из https://github.com/mozilla/gecko-dev.git
bug 503699, r+sr=roc
This commit is contained in:
Родитель
cf80630b4c
Коммит
d6f0680d20
|
@ -238,6 +238,7 @@ nsTextBoxFrame::UpdateAccesskey(nsWeakFrame& aWeakThis)
|
||||||
{
|
{
|
||||||
nsAutoString accesskey;
|
nsAutoString accesskey;
|
||||||
nsCOMPtr<nsIDOMXULLabelElement> labelElement = do_QueryInterface(mContent);
|
nsCOMPtr<nsIDOMXULLabelElement> labelElement = do_QueryInterface(mContent);
|
||||||
|
NS_ENSURE_TRUE(aWeakThis.IsAlive(), PR_FALSE);
|
||||||
if (labelElement) {
|
if (labelElement) {
|
||||||
// Accesskey may be stored on control.
|
// Accesskey may be stored on control.
|
||||||
// Because this method is called by the reflow callback, current context
|
// Because this method is called by the reflow callback, current context
|
||||||
|
|
Загрузка…
Ссылка в новой задаче