Created attachment 387058 [details] [diff] [review] v1.0 nsWindow contains some code to create HICON/HCURSORs from imgIContainers. This patch moves this functionality and helper functions into nsWindowGfx so that other modules within widget can use this (namely the Windows 7 taskbar preview code).
Comment on attachment 387058 [details] [diff] [review] v1.0 Sweet! Curious though, do we really need to be explicit in the naming - CreateHICON vs. CreateWinIcon or just CreateIcon?
Comment on attachment 387058 [details] [diff] [review] v1.0 I could rename it to CreateIcon but since it's used for cursors that seems misleading (and HICON is slightly less misleading)
Created attachment 389792 [details] [diff] [review] v1.1 Seems I did rename it in my local tree (maybe we talked about this over IRC?)
Pushed to mozilla-central: http://hg.mozilla.org/mozilla-central/rev/fef11a3cdca7