From eee3badd19f4d00babb4505c3e6a3f76a3fee3b7 Mon Sep 17 00:00:00 2001 From: Luis de Bethencourt Date: Fri, 12 Apr 2013 16:25:04 -0400 Subject: [PATCH] Bug 859158 - Removed unused ifdef DEBUG in imgRequest.cpp. r=joedrew --- image/src/imgRequest.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/image/src/imgRequest.cpp b/image/src/imgRequest.cpp index e27fc3863f7d..2ce3e9e38f3c 100644 --- a/image/src/imgRequest.cpp +++ b/image/src/imgRequest.cpp @@ -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 chan(do_QueryInterface(aRequest)); if (newType.IsEmpty()) { LOG_SCOPE(GetImgLog(), "imgRequest::OnDataAvailable |sniffing of mimetype failed|");