mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-13 11:38:16 +00:00
Bug 69365: Fix mail reply-all by reverting pres-state optimizations r=ducarroz@netscape.com, sr=jst@netscape.com,vidur@netscape.com
This commit is contained in:
parent
a9cc6bcc3c
commit
8426cfe13e
@ -3188,7 +3188,8 @@ nsGfxTextControlFrame2::SaveState(nsIPresContext* aPresContext, nsIPresState** a
|
||||
formControl->GetAttribute(kNameSpaceID_None, nsHTMLAtoms::value, defaultStateString);
|
||||
}
|
||||
|
||||
if (! stateString.Equals(defaultStateString)) {
|
||||
// XXX Removed comparison between current and default state to
|
||||
// XXX temporarily fix bug 69365 (mail reply all looses addresses)
|
||||
|
||||
// XXX Should use nsAutoString above but ConvertStringLineBreaks requires mOwnsBuffer!
|
||||
res = nsLinebreakConverter::ConvertStringLineBreaks(stateString,
|
||||
@ -3199,7 +3200,6 @@ nsGfxTextControlFrame2::SaveState(nsIPresContext* aPresContext, nsIPresState** a
|
||||
res = NS_NewPresState(aState);
|
||||
NS_ENSURE_SUCCESS(res, res);
|
||||
res = (*aState)->SetStateProperty(NS_LITERAL_STRING("value"), stateString);
|
||||
}
|
||||
|
||||
return res;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user