зеркало из https://github.com/mozilla/gecko-dev.git
fix for 26691. PDT+. reviewed by byner. This basically removes a assert that
was upsetting user of viewer.
This commit is contained in:
Родитель
2bd13b4c29
Коммит
d076e83c8f
|
@ -63,10 +63,7 @@ inline nsIFileSpec* NS_LocateFileOrDirectory(PRUint32 selector)
|
|||
nsIFileSpec* spec = nsnull;
|
||||
NS_WITH_SERVICE(nsIFileLocator, locator, NS_FILELOCATOR_PROGID, &rv);
|
||||
if (NS_SUCCEEDED(rv) && locator)
|
||||
{
|
||||
rv = locator->GetFileLocation(selector, &spec);
|
||||
NS_ASSERTION(NS_SUCCEEDED(rv), "ERROR: File locator cannot locate file.");
|
||||
}
|
||||
locator->GetFileLocation(selector, &spec);
|
||||
return spec;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче