nsComputedDOMStyle::GetBorderStyleFor(PRUint8 aSide, nsIFrame *aFrame, nsIDOMCSSPrimitiveValue*& aValue)
nsComputedDOMStyle::GetBorderStyleFor(PRUint8 aSide, nsIFrame *aFrame, nsIDOMCSSValue** aValue)
nsComputedDOMStyle::GetBorderStyleFor(PRUint8 aSide,                                      nsIFrame *aFrame,                                      nsIDOMCSSPrimitiveValue*& aValue){  nsROCSSPrimitiveValue* val=GetROCSSPrimitiveValue();  NS_ENSURE_TRUE(val, NS_ERROR_OUT_OF_MEMORY);  const nsStyleBorder* border = nsnull;  GetStyleData(eStyleStruct_Border, (const nsStyleStruct*&)border, aFrame);  PRUint8 borderStyle = NS_STYLE_BORDER_STYLE_NONE;  if (border) {    borderStyle = border->GetBorderStyle(aSide);  }  if (borderStyle != NS_STYLE_BORDER_STYLE_NONE) {    const nsAFlatCString& style=      nsCSSProps::SearchKeywordTable(borderStyle,                                     nsCSSProps::kBorderStyleKTable);    val->SetString(style);  }  else {    val->SetString(NS_LITERAL_STRING("none"));  }  return CallQueryInterface(val, &aValue);}