Summary: | [ATK] Cleanup WebKitAccessibleHyperlink | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Carlos Garcia Campos <cgarcia> | ||||||
Component: | Accessibility | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | aboxhall, apinheiro, bugs-noreply, cfleizach, dmazzoni, ews-watchlist, jcraig, jdiggs, mcatanzaro, samuel_white, webkit-bug-importer | ||||||
Priority: | P2 | Keywords: | Gtk, InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Carlos Garcia Campos
2019-04-04 08:13:00 PDT
Created attachment 366714 [details]
Patch
Created attachment 366926 [details]
Patch
Comment on attachment 366926 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=366926&action=review > Source/WebCore/accessibility/atk/WebKitAccessibleHyperlink.cpp:-418 > - static volatile gsize typeVolatile = 0; > - > - if (g_once_init_enter(&typeVolatile)) { > - static const GTypeInfo tinfo = { > - sizeof(WebKitAccessibleHyperlinkClass), > - (GBaseInitFunc) 0, > - (GBaseFinalizeFunc) 0, > - (GClassInitFunc)(GCallback) webkitAccessibleHyperlinkClassInit, > - (GClassFinalizeFunc) 0, > - 0, /* class data */ > - sizeof(WebKitAccessibleHyperlink), /* instance size */ > - 0, /* nb preallocs */ > - (GInstanceInitFunc)(GCallback) webkitAccessibleHyperlinkInit, > - 0 /* value table */ > - }; > - > - static const GInterfaceInfo actionInfo = { > - (GInterfaceInitFunc)(GCallback)atkActionInterfaceInit, > - (GInterfaceFinalizeFunc) 0, 0 > - }; > - > - GType type = g_type_register_static(ATK_TYPE_HYPERLINK, "WebKitAccessibleHyperlink", &tinfo, GTypeFlags(0)); > - g_type_add_interface_static(type, ATK_TYPE_ACTION, &actionInfo); > - > - g_once_init_leave(&typeVolatile, type); > - } Heh, this is *really* old school! Committed r244072: <https://trac.webkit.org/changeset/244072> |