mPendingDatas.Enumerate(StartNonAlternates, this);
PRInt32 index = 0; while (index < mPendingAlternateSheets.Count()) { SheetLoadData* data = (SheetLoadData*)mPendingAlternateSheets.ElementAt(index); if (! IsAlternate(data->mTitle)) { mPendingAlternateSheets.RemoveElementAt(index); URLKey key(data->mURL); LoadSheet(key, data); } else { index++; } }
CSSLoaderImpl::SetPreferredSheet(const nsAString& aTitle){  mPreferredSheet = aTitle;  // start any pending alternates that aren't alternates anymore  mPendingDatas.Enumerate(StartNonAlternates, this);  return NS_OK;}