зеркало из https://github.com/mozilla/pjs.git
Sync up branch and trunk
Original committer: bryner%brianryner.com Original revision: 1.5 Original date: 2006/02/17 23:44:21
This commit is contained in:
Родитель
e06622cf59
Коммит
aaf175dc26
|
@ -680,7 +680,10 @@ FaviconLoadListener::OnStopRequest(nsIRequest *aRequest, nsISupports *aContext,
|
|||
nsCOMPtr<nsIContentSniffer> sniffer = do_GetService(snifferCID.get(), &rv);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
sniffer->GetMIMETypeFromContent(aRequest,
|
||||
sniffer->GetMIMETypeFromContent(
|
||||
#ifndef MOZILLA_1_8_BRANCH
|
||||
aRequest,
|
||||
#endif
|
||||
NS_REINTERPRET_CAST(PRUint8*, NS_CONST_CAST(char*, mData.get())),
|
||||
mData.Length(), mimeType);
|
||||
// ignore errors: mime type will be left empty and we'll try the next sniffer
|
||||
|
|
Загрузка…
Ссылка в новой задаче