val->SetString(decoration);
val->SetString(decoration.get());
nsComputedDOMStyle::GetTextDecoration(nsIFrame *aFrame,                                      nsIDOMCSSPrimitiveValue*& aValue){  nsROCSSPrimitiveValue* val=GetROCSSPrimitiveValue();  NS_ENSURE_TRUE(val, NS_ERROR_OUT_OF_MEMORY);  const nsStyleTextReset* text=nsnull;  GetStyleData(eStyleStruct_TextReset,(const nsStyleStruct*&)text,aFrame);  if(text) {    const nsCString& decoration=      nsCSSProps::SearchKeywordTable(text->mTextDecoration,	                                 nsCSSProps::kTextDecorationKTable);    val->SetString(decoration);  }  else {    val->SetString("");  }  return val->QueryInterface(NS_GET_IID(nsIDOMCSSPrimitiveValue),	                         (void **)&aValue);}