This commit is contained in:
vladimir@pobox.com 2007-10-11 16:34:04 -07:00
Родитель 0e6bf9f21e
Коммит ea234d1683
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -2145,7 +2145,7 @@ nsCanvasRenderingContext2D::CairoSurfaceFromElement(nsIDOMElement *imgElt,
PRUint32 status;
imgRequest->GetImageStatus(&status);
if (status != imgIRequest::STATUS_LOAD_COMPLETE)
if ((status & imgIRequest::STATUS_LOAD_COMPLETE) == 0)
return NS_ERROR_NOT_AVAILABLE;
nsCOMPtr<nsIURI> uri;