WKIconDatabase already exports functions for retaining, releasing, and removing icons; it should also export the ability to set an icon.
Created attachment 219481 [details] Patch
Looks good.
Comment on attachment 219481 [details] Patch Clearing flags on attachment: 219481 Committed r160781: <http://trac.webkit.org/changeset/160781>
All reviewed patches have been landed. Closing bug.