Avoid doing some work when initializing textfields. Bug 221150, patch by

peterv and a little bit me, r=me, sr=roc


git-svn-id: svn://10.0.0.236/trunk@230820 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu
2007-07-25 00:11:23 +00:00
parent 7a9a628f04
commit 43d165c801
4 changed files with 19 additions and 4 deletions

View File

@@ -1489,7 +1489,7 @@ nsTextControlFrame::CreateFrameFor(nsIContent* aContent)
}
} else {
// Never wrap non-textareas
textEditor->SetWrapWidth(-1);
textEditor->SetWrapColumn(-1);
}