зеркало из https://github.com/mozilla/gecko-dev.git
Bug 306902. r=josh sr=smfr a=dveditz
This commit is contained in:
Родитель
6913ab4560
Коммит
1610a12b60
|
@ -1126,7 +1126,7 @@ void nsUnicodeRenderingToolkit::GetScriptTextBoundingMetrics(
|
|||
{
|
||||
widths = (Fixed*) nsMemory::Alloc(aLen * sizeof(Fixed));
|
||||
lefts = (Fixed*) nsMemory::Alloc(aLen * sizeof(Fixed));
|
||||
rects = (Rect*) nsMemory::Alloc(aLen * sizeof(Fixed));
|
||||
rects = (Rect*) nsMemory::Alloc(aLen * sizeof(Rect));
|
||||
|
||||
// if any of the allocations failed the 'else' case below will be executed
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче