packages: iceweasel/iceweasel-bug-722975-workaround.patch (NEW)=?UTF-8?Q?=20?=- merged fr...
qboosh
qboosh at pld-linux.org
Tue May 29 15:04:09 CEST 2012
Author: qboosh Date: Tue May 29 13:04:09 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- merged from xulrunner
---- Files affected:
packages/iceweasel:
iceweasel-bug-722975-workaround.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/iceweasel/iceweasel-bug-722975-workaround.patch
diff -u /dev/null packages/iceweasel/iceweasel-bug-722975-workaround.patch:1.1
--- /dev/null Tue May 29 15:04:09 2012
+++ packages/iceweasel/iceweasel-bug-722975-workaround.patch Tue May 29 15:04:04 2012
@@ -0,0 +1,34 @@
+--- firefox/gfx/thebes/gfxPlatform.cpp~ 2012-02-07 11:59:39.717184907 +0000
++++ firefox/gfx/thebes/gfxPlatform.cpp 2012-02-07 13:06:01.084668445 +0000
+@@ -446,6 +446,7 @@
+ static_cast<SourceSurface*>(srcBuffer)->Release();
+ }
+
++#ifdef MOZ_TREE_CAIRO
+ void SourceSnapshotDetached(cairo_surface_t *nullSurf)
+ {
+ gfxImageSurface* origSurf =
+@@ -453,6 +454,7 @@
+
+ origSurf->SetData(&kSourceSurface, NULL, NULL);
+ }
++#endif
+
+ RefPtr<SourceSurface>
+ gfxPlatform::GetSourceSurfaceForSurface(DrawTarget *aTarget, gfxASurface *aSurface)
+@@ -522,6 +524,7 @@
+ imgSurface->Stride(),
+ format);
+
++ #ifdef MOZ_TREE_CAIRO
+ cairo_surface_t *nullSurf =
+ cairo_null_surface_create(CAIRO_CONTENT_COLOR_ALPHA);
+ cairo_surface_set_user_data(nullSurf,
+@@ -530,6 +533,7 @@
+ NULL);
+ cairo_surface_attach_snapshot(imgSurface->CairoSurface(), nullSurf, SourceSnapshotDetached);
+ cairo_surface_destroy(nullSurf);
++ #endif
+ }
+
+ srcBuffer->AddRef();
================================================================
More information about the pld-cvs-commit
mailing list