else { val->SetString(NS_LITERAL_STRING("")); }
nsComputedDOMStyle::GetBackgroundImage(nsIFrame *aFrame,                             nsIDOMCSSPrimitiveValue*& aValue){  nsROCSSPrimitiveValue* val=GetROCSSPrimitiveValue();  NS_ENSURE_TRUE(val, NS_ERROR_OUT_OF_MEMORY);  const nsStyleBackground* color=nsnull;  GetStyleData(eStyleStruct_Background, (const nsStyleStruct*&)color, aFrame);  if(color) {    if (color->mBackgroundFlags & NS_STYLE_BG_IMAGE_NONE) {      val->SetString(NS_LITERAL_STRING("none"));    } else {      val->SetString(color->mBackgroundImage);    }  }  else {    val->SetString(NS_LITERAL_STRING(""));  }  return val->QueryInterface(NS_GET_IID(nsIDOMCSSPrimitiveValue),                             (void **)&aValue);}