Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 39f515330ba663c2806b9a1fe0d1da15c02cabd7 https://github.com/WebKit/WebKit/commit/39f515330ba663c2806b9a1fe0d1da15c02cabd7 Author: Philippe Normand <ph...@igalia.com> Date: 2024-01-01 (Mon, 01 Jan 2024)
Changed paths: M Source/WebCore/platform/graphics/gstreamer/GRefPtrGStreamer.cpp M Source/WebCore/platform/graphics/gstreamer/GRefPtrGStreamer.h Log Message: ----------- [GStreamer] GRefPtr template specialization for GstObject https://bugs.webkit.org/show_bug.cgi?id=266967 Reviewed by Carlos Garcia Campos. Without this the leak tracer might report leaks from MediaPlayerPrivateGStreamer::updateTracks() that uses a GRefPtr<GstObject>. I don't think it's a real one, because without this patch GRefPtr would fallback to the default GObject ref/unref, which is also OK, but not tracked by the leak tracer. * Source/WebCore/platform/graphics/gstreamer/GRefPtrGStreamer.cpp: (WTF::adoptGRef): (WTF::refGPtr<GstObject>): (WTF::derefGPtr<GstObject>): * Source/WebCore/platform/graphics/gstreamer/GRefPtrGStreamer.h: Canonical link: https://commits.webkit.org/272553@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes