Bug 616426 - fix paramater type. r=blassey. a=me

This commit is contained in:
Doug Turner 2011-03-11 15:41:32 -08:00
Родитель f99a1c769a
Коммит f0e18eef74
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -418,7 +418,7 @@ gfxAndroidPlatform::AppendFacesFromFontFile(const char *aFileName, FontNameCache
}
void
gfxAndroidPlatform::FindFontsInDirectory(nsCString aFontsDir,
gfxAndroidPlatform::FindFontsInDirectory(const nsCString& aFontsDir,
FontNameCache* aFontCache)
{
DIR *d = opendir(aFontsDir.get());

Просмотреть файл

@ -107,7 +107,7 @@ public:
protected:
void AppendFacesFromFontFile(const char *aFileName, FontNameCache* aFontCache, InfallibleTArray<FontListEntry>* retValue);
void FindFontsInDirectory(nsCString aFontsDir, FontNameCache* aFontCache);
void FindFontsInDirectory(const nsCString& aFontsDir, FontNameCache* aFontCache);
typedef nsDataHashtable<nsStringHashKey, nsRefPtr<FontFamily> > FontTable;