diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-02-01 04:11:31 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-02-01 04:11:31 -0200 |
commit | b515cfc1c118e490276f9573c0863d729474edb1 (patch) | |
tree | 03ee8ff3fa5f012d48ad27773cfb81a137642919 /~emulatorman/icecat/cairo.patch | |
parent | 64e61b083b1c144cd7e3ef4018f14d7127aa4a24 (diff) |
remove deprecated packages on ~emulatorman
Diffstat (limited to '~emulatorman/icecat/cairo.patch')
-rw-r--r-- | ~emulatorman/icecat/cairo.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/~emulatorman/icecat/cairo.patch b/~emulatorman/icecat/cairo.patch deleted file mode 100644 index a1fabee90..000000000 --- a/~emulatorman/icecat/cairo.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- a/gfx/thebes/gfxPlatform.cpp -+++ b/gfx/thebes/gfxPlatform.cpp -@@ -459,11 +459,9 @@ void SourceBufferDestroy(void *srcBuffer) - static_cast<SourceSurface*>(srcBuffer)->Release(); - } - --void SourceSnapshotDetached(cairo_surface_t *nullSurf) -+void SourceSnapshotDetached(void *nullSurf) - { -- gfxImageSurface* origSurf = -- static_cast<gfxImageSurface*>(cairo_surface_get_user_data(nullSurf, &kSourceSurface)); -- -+ gfxImageSurface *origSurf = static_cast<gfxImageSurface*>(nullSurf); - origSurf->SetData(&kSourceSurface, NULL, NULL); - } - -@@ -535,14 +533,8 @@ gfxPlatform::GetSourceSurfaceForSurface(DrawTarget *aTarget, gfxASurface *aSurfa - imgSurface->Stride(), - format); - -- cairo_surface_t *nullSurf = -- cairo_null_surface_create(CAIRO_CONTENT_COLOR_ALPHA); -- cairo_surface_set_user_data(nullSurf, -- &kSourceSurface, -- imgSurface, -- NULL); -- cairo_surface_attach_snapshot(imgSurface->CairoSurface(), nullSurf, SourceSnapshotDetached); -- cairo_surface_destroy(nullSurf); -+ cairo_surface_set_mime_data(imgSurface->CairoSurface(), "mozilla/magic", -+ (const unsigned char *) "data", 4, SourceSnapshotDetached, imgSurface.get()); - } - - srcBuffer->AddRef(); |