mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Bug 427978: default to using file extension if file used in moz-icon doesn't exist, patch by Jim Mathies <jmathies@mozilla.com>, r=stuart, a=schrep
This commit is contained in:
parent
349ad7383a
commit
2bc3d7b25e
@ -285,7 +285,7 @@ nsresult nsIconChannel::MakeInputStream(nsIInputStream** _retval, PRBool nonBloc
|
||||
|
||||
PRBool fileExists = PR_FALSE;
|
||||
|
||||
nsCAutoString filePath;
|
||||
nsCAutoString filePath(fileExt);
|
||||
if (localFile)
|
||||
{
|
||||
rv = localFile->Normalize();
|
||||
|
Loading…
Reference in New Issue
Block a user