Comment on attachment 481492
minimal branch patch
Requesting approval for 1.9.1, mostly for SeaMonkey on distributions
that build with system cairo.
It's a small patch, but changes semantics a little.
With XPCOM's ref-counting system, objects typically need to be AddRefed
and Released to be deleted. Without this patch nsWindow would do this
and so the object would get deleted even if the caller did not. With
this patch callers must AddRef and Release.
The change actually makes the behavior consistent with cocoa and winnt's
GetThebesSurface().
I checked that existing callers (in 1.9.1 mozilla-central) AddRef and
Release.
nsBaseWidget::GetRenderingContext()
> nsThebesRenderingContext::Init(nsIDeviceContext*, gfxASurface*)
> gfxContext
nsThebesDeviceContext::CreateRenderingContext()
nsThebesRenderingContext::Init(nsIDeviceContext*, nsIWidget*)
> gfxContext
--
Eclipse crashes using content assist with libcairo2 1.8.10
https://bugs.launchpad.net/bugs/531719
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs