val->SetString(style);
val->SetString(style.get());
nsComputedDOMStyle::GetOutlineStyle(nsIFrame *aFrame,                                    nsIDOMCSSPrimitiveValue*& aValue){  nsROCSSPrimitiveValue* val=GetROCSSPrimitiveValue();  NS_ENSURE_TRUE(val, NS_ERROR_OUT_OF_MEMORY);  const nsStyleOutline* outline=nsnull;  GetStyleData(eStyleStruct_Outline, (const nsStyleStruct*&)outline, aFrame);  if(outline) {    const nsCString& style=      nsCSSProps::SearchKeywordTable(outline->GetOutlineStyle(),                                     nsCSSProps::kBorderStyleKTable);    val->SetString(style);  }  else {    val->SetString("");  }  return val->QueryInterface(NS_GET_IID(nsIDOMCSSPrimitiveValue),                             (void **)&aValue);}