Summary: | [Gtk] Several tests launch g_object_ref/unref assertion messages | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Alejandro Piñeiro <apinheiro> | ||||
Component: | Accessibility | Assignee: | Zan Dobersek <zan> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | jdiggs, mario, mrobinson, pnormand, zan | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Alejandro Piñeiro
2012-08-27 02:15:09 PDT
I've recommended using GRefPtr<AtkObject> as the type definition for the PlatformUIElement. That doesn't really work as it causes compilation errors (conversion of 0 from integer to AccessibilityUIElement becomes impossible and the refactoring to avoid this is IMO not really worth the trouble). To bypass this the m_element member should be checked that it is non-nul before refing/unrefing. Created attachment 166701 [details]
Patch
CC-ing a11y folks and reviewers. Comment on attachment 166701 [details]
Patch
Thanks!
Comment on attachment 166701 [details] Patch Clearing flags on attachment: 166701 Committed r130183: <http://trac.webkit.org/changeset/130183> All reviewed patches have been landed. Closing bug. |