Only issue a warning if we failed to map a file, not an assertion. This doesn't violate any built-in assumptions. Bug 317205, r=shaver.
git-svn-id: svn://10.0.0.236/trunk@185032 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
c97e5270d0
commit
ec9ed3fc95
@ -1502,7 +1502,7 @@ mozJSComponentLoader::GlobalForLocation(const char *aLocation,
|
||||
|
||||
char *buf = NS_STATIC_CAST(char*, PR_MemMap(map, 0, fileSize32));
|
||||
if (!buf) {
|
||||
NS_ERROR("Failed to map file");
|
||||
NS_WARNING("Failed to map file");
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user