mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
Make uris in the form
moz-icon://file://C:/foo/bar.exe?size=16 work again. Bug 233461 r=biesi sr=blizzard
This commit is contained in:
parent
b116bab5c0
commit
d97e0de464
@ -278,7 +278,7 @@ nsMozIconURI::SetSpec(const nsACString &aSpec)
|
||||
// and remember the rest in mDummyFilePath
|
||||
mDummyFilePath.Cut(0, 2); // cut the first 2 bytes....
|
||||
}
|
||||
else if (!strncmp("file://", mDummyFilePath.get(), 7))
|
||||
if (!strncmp("file://", mDummyFilePath.get(), 7))
|
||||
{
|
||||
// we have a file url.....so store it...
|
||||
rv = ioService->NewURI(mDummyFilePath, nsnull, nsnull, getter_AddRefs(mFileIcon));
|
||||
|
Loading…
Reference in New Issue
Block a user