Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117345 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2197,7 +2197,7 @@ nsListControlFrame::SetDummyFrame(nsIFrame* aFrame)
|
||||
//---------------------------------------------------------
|
||||
NS_IMETHODIMP
|
||||
nsListControlFrame::SetProperty(nsIPresContext* aPresContext, nsIAtom* aName,
|
||||
const nsAReadableString& aValue)
|
||||
const nsAString& aValue)
|
||||
{
|
||||
if (nsHTMLAtoms::selected == aName) {
|
||||
return NS_ERROR_INVALID_ARG; // Selected is readonly according to spec.
|
||||
@@ -2214,7 +2214,7 @@ nsListControlFrame::SetProperty(nsIPresContext* aPresContext, nsIAtom* aName,
|
||||
|
||||
//---------------------------------------------------------
|
||||
NS_IMETHODIMP
|
||||
nsListControlFrame::GetProperty(nsIAtom* aName, nsAWritableString& aValue)
|
||||
nsListControlFrame::GetProperty(nsIAtom* aName, nsAString& aValue)
|
||||
{
|
||||
// Get the selected value of option from local cache (optimization vs. widget)
|
||||
if (nsHTMLAtoms::selected == aName) {
|
||||
|
||||
Reference in New Issue
Block a user