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:
@@ -1489,7 +1489,7 @@ nsTextControlFrame::CreateFrameFor(nsIContent* aContent)
|
||||
}
|
||||
} else {
|
||||
// Never wrap non-textareas
|
||||
textEditor->SetWrapWidth(-1);
|
||||
textEditor->SetWrapColumn(-1);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user