- see http://www.mozilla.org/en-US/firefox/17.0/releasenotes/ for details - enable the gio/libnotify interaction, since it brings no additional dep. libnotify will be dlopened at runtime if present, and gio is already in the dependency chain. The latter will interact with the gio mime database for file associations, and firefox will ask the user if he wants to register it as the default http:// handler. The former will show a notify popup upon download completion, among others. - add build depends on yasm in i386/amd64 for webm - remove patch-browser_app_profile_firefox_js, the updater is already disabled - remove gstreamer patches from #776838, #777696 & #747257, merged upstream - remove ipc_message_utils.h patch from #775428, commited upstream - remove mozalloc.cpp patch, <sys/types.h> is already included above - remove xpcshell hang patchset from #706955, cant reproduce anymore - remove patch-security_manager_ssl_src_Makefile_in, unneeded - remove OS.File extra logging from #785200, merged upstream - add patch-toolkit_system_gnome_nsGIOService_cpp, workaround for #805202 (libgio-2.0.so dlopening), to be removed in fx 19 - remove xpcom arm patch from #783875, merged upstream ok sthen@
37 lines
1.2 KiB
Plaintext
37 lines
1.2 KiB
Plaintext
$OpenBSD: patch-gfx_thebes_gfxPlatform_cpp,v 1.6 2012/11/24 10:21:50 landry Exp $
|
|
https://bugzilla.mozilla.org/show_bug.cgi?id=715658
|
|
--- gfx/thebes/gfxPlatform.cpp.orig Wed Oct 17 16:32:38 2012
|
|
+++ gfx/thebes/gfxPlatform.cpp Wed Oct 17 21:59:03 2012
|
|
@@ -490,6 +490,7 @@ void SourceBufferDestroy(void *srcBuffer)
|
|
static_cast<SourceSurface*>(srcBuffer)->Release();
|
|
}
|
|
|
|
+#ifdef MOZ_TREE_CAIRO
|
|
void SourceSnapshotDetached(cairo_surface_t *nullSurf)
|
|
{
|
|
gfxImageSurface* origSurf =
|
|
@@ -497,6 +498,7 @@ void SourceSnapshotDetached(cairo_surface_t *nullSurf)
|
|
|
|
origSurf->SetData(&kSourceSurface, NULL, NULL);
|
|
}
|
|
+#endif
|
|
|
|
RefPtr<SourceSurface>
|
|
gfxPlatform::GetSourceSurfaceForSurface(DrawTarget *aTarget, gfxASurface *aSurface)
|
|
@@ -594,6 +596,7 @@ gfxPlatform::GetSourceSurfaceForSurface(DrawTarget *aT
|
|
|
|
}
|
|
|
|
+ #ifdef MOZ_TREE_CAIRO
|
|
cairo_surface_t *nullSurf =
|
|
cairo_null_surface_create(CAIRO_CONTENT_COLOR_ALPHA);
|
|
cairo_surface_set_user_data(nullSurf,
|
|
@@ -602,6 +605,7 @@ gfxPlatform::GetSourceSurfaceForSurface(DrawTarget *aT
|
|
NULL);
|
|
cairo_surface_attach_snapshot(imgSurface->CairoSurface(), nullSurf, SourceSnapshotDetached);
|
|
cairo_surface_destroy(nullSurf);
|
|
+ #endif
|
|
}
|
|
|
|
srcBuffer->AddRef();
|