[XForms] Additional patch for bug 280423, r=merle+aaronr, NPOTB
git-svn-id: svn://10.0.0.236/trunk@242911 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -202,7 +202,7 @@ private:
|
||||
* @param aName Name of the context property.
|
||||
* @param aValue Value of the context property.
|
||||
*/
|
||||
nsresult SetContextInfo(const char *aName, nsAString &aValue);
|
||||
nsresult SetContextInfo(const char *aName, const nsAString &aValue);
|
||||
|
||||
MessageType mType;
|
||||
|
||||
@@ -1289,7 +1289,7 @@ PRBool nsXFormsMessageElement::IsEphemeral()
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsXFormsMessageElement::SetContextInfo(const char *aName, nsAString &aValue)
|
||||
nsXFormsMessageElement::SetContextInfo(const char *aName, const nsAString &aValue)
|
||||
{
|
||||
nsCOMPtr<nsXFormsContextInfo> contextInfo = new nsXFormsContextInfo(mElement);
|
||||
NS_ENSURE_TRUE(contextInfo, NS_ERROR_OUT_OF_MEMORY);
|
||||
|
||||
Reference in New Issue
Block a user