rpms/firefox/F-8 firefox-2.0.0.10-canvas-load.patch, NONE, 1.1 firefox.spec, 1.209, 1.210
Christopher Aillon (caillon)
fedora-extras-commits at redhat.com
Wed Nov 28 15:09:26 UTC 2007
- Previous message (by thread): rpms/jd/F-7 .cvsignore, 1.144, 1.145 jd.spec, 1.163, 1.164 sources, 1.145, 1.146
- Next message (by thread): rpms/firefox/F-7 firefox-2.0.0.10-canvas-load.patch, NONE, 1.1 firefox.spec, 1.191, 1.192
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: caillon
Update of /cvs/extras/rpms/firefox/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5485
Modified Files:
firefox.spec
Added Files:
firefox-2.0.0.10-canvas-load.patch
Log Message:
* Wed Nov 28 2007 Christopher Aillon <caillon at redhat.com> 2.0.0.10-2
- Make Canvas.drawImage work again
firefox-2.0.0.10-canvas-load.patch:
--- NEW FILE firefox-2.0.0.10-canvas-load.patch ---
https://bugzilla.mozilla.org/show_bug.cgi?id=405584
https://bugzilla.mozilla.org/show_bug.cgi?id=391028
Index: content/canvas/src/nsCanvasRenderingContext2D.cpp
===================================================================
RCS file: /cvsroot/mozilla/content/canvas/src/nsCanvasRenderingContext2D.cpp,v
retrieving revision 1.102
diff -u -8 -p -r1.102 nsCanvasRenderingContext2D.cpp
--- content/canvas/src/nsCanvasRenderingContext2D.cpp 10 Oct 2007 20:31:45 -0000 1.102
+++ content/canvas/src/nsCanvasRenderingContext2D.cpp 11 Oct 2007 23:31:32 -0000
@@ -2140,17 +2140,17 @@ nsCanvasRenderingContext2D::CairoSurface
getter_AddRefs(imgRequest));
NS_ENSURE_SUCCESS(rv, rv);
if (!imgRequest)
// XXX ERRMSG we need to report an error to developers here! (bug 329026)
return NS_ERROR_NOT_AVAILABLE;
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;
rv = imageLoader->GetCurrentURI(uriOut);
NS_ENSURE_SUCCESS(rv, rv);
*forceWriteOnlyOut = PR_FALSE;
Index: firefox.spec
===================================================================
RCS file: /cvs/extras/rpms/firefox/F-8/firefox.spec,v
retrieving revision 1.209
retrieving revision 1.210
diff -u -r1.209 -r1.210
--- firefox.spec 27 Nov 2007 01:44:13 -0000 1.209
+++ firefox.spec 28 Nov 2007 15:08:18 -0000 1.210
@@ -12,7 +12,7 @@
Summary: Mozilla Firefox Web browser.
Name: firefox
Version: 2.0.0.10
-Release: 1%{?dist}
+Release: 2%{?dist}
URL: http://www.mozilla.org/projects/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+
Group: Applications/Internet
@@ -79,6 +79,9 @@
%endif
+Patch200: firefox-2.0.0.10-canvas-load.patch
+
+
# ---------------------------------------------------
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -168,6 +171,8 @@
%patch111 -p1 -b .path
%patch112 -p1 -b .debug
+%patch200 -p0 -b .canvas-load
+
# For branding specific patches.
%if %{official_branding}
@@ -436,6 +441,9 @@
#---------------------------------------------------------------------
%changelog
+* Wed Nov 28 2007 Christopher Aillon <caillon at redhat.com> 2.0.0.10-2
+- Make Canvas.drawImage work again
+
* Mon Nov 26 2007 Christopher Aillon <caillon at redhat.com> 2.0.0.10-1
- Update to 2.0.0.10
- Previous message (by thread): rpms/jd/F-7 .cvsignore, 1.144, 1.145 jd.spec, 1.163, 1.164 sources, 1.145, 1.146
- Next message (by thread): rpms/firefox/F-7 firefox-2.0.0.10-canvas-load.patch, NONE, 1.1 firefox.spec, 1.191, 1.192
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list