зеркало из https://github.com/mozilla/gecko-dev.git
Implemented destroy-lines
This commit is contained in:
Родитель
b0d0f5e059
Коммит
6188f684ea
|
@ -171,6 +171,13 @@ nsBlockFrame::~nsBlockFrame()
|
|||
|
||||
void nsBlockFrame::DestroyLines()
|
||||
{
|
||||
nsLineData* line = mLines;
|
||||
while (nsnull != line) {
|
||||
nsLineData* next = line->mNextLine;
|
||||
delete line;
|
||||
line = next;
|
||||
}
|
||||
mLines = nsnull;
|
||||
}
|
||||
|
||||
NS_METHOD
|
||||
|
|
|
@ -171,6 +171,13 @@ nsBlockFrame::~nsBlockFrame()
|
|||
|
||||
void nsBlockFrame::DestroyLines()
|
||||
{
|
||||
nsLineData* line = mLines;
|
||||
while (nsnull != line) {
|
||||
nsLineData* next = line->mNextLine;
|
||||
delete line;
|
||||
line = next;
|
||||
}
|
||||
mLines = nsnull;
|
||||
}
|
||||
|
||||
NS_METHOD
|
||||
|
|
|
@ -171,6 +171,13 @@ nsBlockFrame::~nsBlockFrame()
|
|||
|
||||
void nsBlockFrame::DestroyLines()
|
||||
{
|
||||
nsLineData* line = mLines;
|
||||
while (nsnull != line) {
|
||||
nsLineData* next = line->mNextLine;
|
||||
delete line;
|
||||
line = next;
|
||||
}
|
||||
mLines = nsnull;
|
||||
}
|
||||
|
||||
NS_METHOD
|
||||
|
|
|
@ -171,6 +171,13 @@ nsBlockFrame::~nsBlockFrame()
|
|||
|
||||
void nsBlockFrame::DestroyLines()
|
||||
{
|
||||
nsLineData* line = mLines;
|
||||
while (nsnull != line) {
|
||||
nsLineData* next = line->mNextLine;
|
||||
delete line;
|
||||
line = next;
|
||||
}
|
||||
mLines = nsnull;
|
||||
}
|
||||
|
||||
NS_METHOD
|
||||
|
|
|
@ -171,6 +171,13 @@ nsBlockFrame::~nsBlockFrame()
|
|||
|
||||
void nsBlockFrame::DestroyLines()
|
||||
{
|
||||
nsLineData* line = mLines;
|
||||
while (nsnull != line) {
|
||||
nsLineData* next = line->mNextLine;
|
||||
delete line;
|
||||
line = next;
|
||||
}
|
||||
mLines = nsnull;
|
||||
}
|
||||
|
||||
NS_METHOD
|
||||
|
|
|
@ -171,6 +171,13 @@ nsBlockFrame::~nsBlockFrame()
|
|||
|
||||
void nsBlockFrame::DestroyLines()
|
||||
{
|
||||
nsLineData* line = mLines;
|
||||
while (nsnull != line) {
|
||||
nsLineData* next = line->mNextLine;
|
||||
delete line;
|
||||
line = next;
|
||||
}
|
||||
mLines = nsnull;
|
||||
}
|
||||
|
||||
NS_METHOD
|
||||
|
|
Загрузка…
Ссылка в новой задаче