nsIDOMCSSPrimitiveValue*& aValue)
nsIDOMCSSValue** aValue)
nsComputedDOMStyle::GetZIndex(nsIFrame *aFrame,                              nsIDOMCSSPrimitiveValue*& aValue){  nsROCSSPrimitiveValue* val=GetROCSSPrimitiveValue();  NS_ENSURE_TRUE(val, NS_ERROR_OUT_OF_MEMORY);  const nsStylePosition* position = nsnull;  nsAutoString zindex;  GetStyleData(eStyleStruct_Position, (const nsStyleStruct*&)position, aFrame);  if (position) {    switch (position->mZIndex.GetUnit()) {      case eStyleUnit_Integer:        zindex.AppendInt(position->mZIndex.GetIntValue(), 10);        val->SetString(zindex);        break;      case eStyleUnit_Auto:        val->SetString(NS_LITERAL_STRING("auto"));        break;      case eStyleUnit_Inherit:        val->SetString(NS_LITERAL_STRING("inherit"));        break;      default:        NS_WARNING("Double Check the Unit!");        val->SetString(NS_LITERAL_STRING("auto"));        break;    }  } else {    val->SetString(NS_LITERAL_STRING("auto"));  }      return val->QueryInterface(NS_GET_IID(nsIDOMCSSPrimitiveValue),                             (void **)&aValue);}