mURL->GetSpec(mSpec); if (!mSpec.IsEmpty()) { mHashValue = nsCRT::HashCode(mSpec.get());
nsCAutoString spec; mURL->GetSpec(spec); if (!spec.IsEmpty()) { mHashValue = nsCRT::HashCode(spec.get());
MOZ_DECL_CTOR_COUNTER(URLKey)class URLKey: public nsHashKey {public:  URLKey(nsIURI* aURL)    : mURL(aURL)  {    MOZ_COUNT_CTOR(URLKey);    mHashValue = 0;    mURL->GetSpec(mSpec);    if (!mSpec.IsEmpty()) {      mHashValue = nsCRT::HashCode(mSpec.get());    }  }