зеркало из https://github.com/mozilla/pjs.git
Bug 277467: Memory leak in nsLookAndFeel::GetMetric. patch by Asaf Romano <bugs.mano@mail-central.com>, r=joshmoz, sr=sfraser, a=asa.
This commit is contained in:
Родитель
7cd9b07cdc
Коммит
0e01388eef
|
@ -550,6 +550,8 @@ NS_IMETHODIMP nsLookAndFeel::GetMetric(const nsMetricID aID, PRInt32 & aMetric)
|
|||
aMetric = 7; // everything that can be focused
|
||||
else
|
||||
aMetric = 1; // Textboxes
|
||||
|
||||
::CFRelease(fullKeyboardAccessProperty);
|
||||
}
|
||||
else // By default, "Full keyboard accees" preference is off
|
||||
aMetric = 1;
|
||||
|
|
Загрузка…
Ссылка в новой задаче