зеркало из https://github.com/mozilla/gecko-dev.git
Bug 507817 followup. Remove some code that was just triggering a warning and not doing anything. r=vlad
This commit is contained in:
Родитель
e17ebdfd00
Коммит
878e855de5
|
@ -87,8 +87,8 @@ nsStyleBorder::SetSubImage(PRUint8 aIndex, imgIContainer* aSubImage) const
|
|||
inline imgIContainer*
|
||||
nsStyleBorder::GetSubImage(PRUint8 aIndex) const
|
||||
{
|
||||
imgIContainer* subImage = 0;
|
||||
if (0 <= aIndex && mSubImages.Count() > aIndex)
|
||||
imgIContainer* subImage = nsnull;
|
||||
if (aIndex < mSubImages.Count())
|
||||
subImage = mSubImages[aIndex];
|
||||
return subImage;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче