if (mInner->mURL) { #ifdef DEBUG PRBool eq; nsresult rv = mInner->mURL->Equals(aURL, &eq); NS_ASSERTION(NS_SUCCEEDED(rv) && eq, "bad inner"); #endif } else { mInner->mURL = aURL; NS_ADDREF(mInner->mURL); }
mInner->mURL = aURL;
CSSStyleSheetImpl::Init(nsIURI* aURL){  NS_PRECONDITION(aURL, "null ptr");  if (! aURL)    return NS_ERROR_NULL_POINTER;  if (! mInner) {    return NS_ERROR_OUT_OF_MEMORY;  }  NS_ASSERTION(! mInner->mURL, "already initialized");  if (mInner->mURL)    return NS_ERROR_ALREADY_INITIALIZED;  if (mInner->mURL) {#ifdef DEBUG    PRBool eq;    nsresult rv = mInner->mURL->Equals(aURL, &eq);    NS_ASSERTION(NS_SUCCEEDED(rv) && eq, "bad inner");#endif  }  else {    mInner->mURL = aURL;    NS_ADDREF(mInner->mURL);  }  return NS_OK;}