return val->QueryInterface(NS_GET_IID(nsIDOMCSSPrimitiveValue), (void **)&aValue);
return CallQueryInterface(val, aValue);
nsComputedDOMStyle::GetFontVariant(nsIFrame *aFrame,                             nsIDOMCSSPrimitiveValue*& aValue){  nsROCSSPrimitiveValue* val=GetROCSSPrimitiveValue();  NS_ENSURE_TRUE(val, NS_ERROR_OUT_OF_MEMORY);  const nsStyleFont* font=nsnull;  GetStyleData(eStyleStruct_Font, (const nsStyleStruct*&)font, aFrame);  if(font) {    if (font->mFont.variant == NS_STYLE_FONT_VARIANT_NORMAL) {      val->SetString(NS_LITERAL_STRING("normal"));    } else {            const nsAFlatCString& variant=        nsCSSProps::SearchKeywordTable(font->mFont.variant,                                       nsCSSProps::kFontVariantKTable);      val->SetString(variant);    }  }  else {    val->SetString(NS_LITERAL_STRING(""));  }  return val->QueryInterface(NS_GET_IID(nsIDOMCSSPrimitiveValue),                             (void **)&aValue);}