break;
nsHTMLInputElement::SaveState(nsIPresContext* aPresContext,                              nsIPresState** aState){  nsresult rv = NS_OK;  PRInt32 type;  GetType(&type);    switch (type) {    // Never save passwords in session history    case NS_FORM_INPUT_PASSWORD:      break;    case NS_FORM_INPUT_TEXT:    case NS_FORM_INPUT_FILE:      nsresult rv = GetPrimaryPresState(this, aState);      if (*aState) {        nsString value;        GetValue(value);        // XXX Should use nsAutoString above but ConvertStringLineBreaks        // requires mOwnsBuffer!        rv = nsLinebreakConverter::ConvertStringLineBreaks(                 value,                 nsLinebreakConverter::eLinebreakPlatform,                 nsLinebreakConverter::eLinebreakContent);        NS_ASSERTION(NS_SUCCEEDED(rv), "Converting linebreaks failed!");        rv = (*aState)->SetStateProperty(NS_LITERAL_STRING("value"), value);        NS_ASSERTION(NS_SUCCEEDED(rv), "value save failed!");      }      break;  }  return rv;}