зеркало из https://github.com/mozilla/gecko-dev.git
Bug 859158 - Removed unused ifdef DEBUG in imgRequest.cpp. r=joedrew
This commit is contained in:
Родитель
13eb42ac0e
Коммит
eee3badd19
|
@ -691,10 +691,6 @@ imgRequest::OnDataAvailable(nsIRequest *aRequest, nsISupports *ctxt,
|
|||
uint32_t 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));
|
||||
if (newType.IsEmpty()) {
|
||||
LOG_SCOPE(GetImgLog(), "imgRequest::OnDataAvailable |sniffing of mimetype failed|");
|
||||
|
|
Загрузка…
Ссылка в новой задаче