diff options
author | Beat Gaetzi <beat@FreeBSD.org> | 2012-04-25 04:51:59 +0000 |
---|---|---|
committer | Beat Gaetzi <beat@FreeBSD.org> | 2012-04-25 04:51:59 +0000 |
commit | 5d1bdd789c20819a25ccb974a8619073098ddb7e (patch) | |
tree | 2c310cc49005dcb307974eddaad9cf5351680b0b /mail/thunderbird/files/patch-mozilla-gfx-thebes-gfxPlatform.cpp | |
parent | a4a3a3c37ac07b0bd68369c163353bc038471c9a (diff) | |
download | ports-5d1bdd789c20819a25ccb974a8619073098ddb7e.tar.gz ports-5d1bdd789c20819a25ccb974a8619073098ddb7e.zip |
Notes
Diffstat (limited to 'mail/thunderbird/files/patch-mozilla-gfx-thebes-gfxPlatform.cpp')
-rw-r--r-- | mail/thunderbird/files/patch-mozilla-gfx-thebes-gfxPlatform.cpp | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/mail/thunderbird/files/patch-mozilla-gfx-thebes-gfxPlatform.cpp b/mail/thunderbird/files/patch-mozilla-gfx-thebes-gfxPlatform.cpp new file mode 100644 index 000000000000..e7dc51335465 --- /dev/null +++ b/mail/thunderbird/files/patch-mozilla-gfx-thebes-gfxPlatform.cpp @@ -0,0 +1,34 @@ +--- mozilla/gfx/thebes/gfxPlatform.cpp~ 2012-02-07 11:59:39.717184907 +0000 ++++ mozilla/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(); |