Changed SetView/GetView to take an additional argument which is the

pres context
This commit is contained in:
troy@netscape.com
1999-10-26 04:44:41 +00:00
parent 638cf44c67
commit b8ef6465be
240 changed files with 2258 additions and 1704 deletions
@@ -569,7 +569,9 @@ void nsNativeTextControlFrame::SetTextControlFrameState(const nsString& aValue)
}
}
NS_IMETHODIMP nsNativeTextControlFrame::SetProperty(nsIAtom* aName, const nsString& aValue)
NS_IMETHODIMP nsNativeTextControlFrame::SetProperty(nsIPresContext* aPresContext,
nsIAtom* aName,
const nsString& aValue)
{
nsresult rv = NS_OK;
if (nsHTMLAtoms::value == aName) {
@@ -592,7 +594,7 @@ NS_IMETHODIMP nsNativeTextControlFrame::SetProperty(nsIAtom* aName, const nsStri
}
}
else {
return nsNativeFormControlFrame::SetProperty(aName, aValue);
return nsNativeFormControlFrame::SetProperty(aPresContext, aName, aValue);
}
return rv;
}