mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
fix for 26691. PDT+. reviewed by byner. This basically removes a assert that
was upsetting user of viewer.
This commit is contained in:
parent
2bd13b4c29
commit
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user