Bug 859158 - Removed unused ifdef DEBUG in imgRequest.cpp. r=joedrew

This commit is contained in:
Luis de Bethencourt 2013-04-12 16:25:04 -04:00
Родитель 13eb42ac0e
Коммит eee3badd19
1 изменённых файлов: 0 добавлений и 4 удалений

Просмотреть файл

@ -691,10 +691,6 @@ imgRequest::OnDataAvailable(nsIRequest *aRequest, nsISupports *ctxt,
uint32_t out; uint32_t out;
inStr->ReadSegments(sniff_mimetype_callback, &closure, count, &out); inStr->ReadSegments(sniff_mimetype_callback, &closure, count, &out);
#ifdef DEBUG
/* NS_WARNING if the content type from the channel isn't the same if the sniffing */
#endif
nsCOMPtr<nsIChannel> chan(do_QueryInterface(aRequest)); nsCOMPtr<nsIChannel> chan(do_QueryInterface(aRequest));
if (newType.IsEmpty()) { if (newType.IsEmpty()) {
LOG_SCOPE(GetImgLog(), "imgRequest::OnDataAvailable |sniffing of mimetype failed|"); LOG_SCOPE(GetImgLog(), "imgRequest::OnDataAvailable |sniffing of mimetype failed|");