Using the MSVC compiler, an instance of an enum type with value zero, is compatible with void* (see bug 132683 for a code example). This has caused crashes on Windows on two occasions (bug 132683, and bug 121001). This patch tries to prevent these type of crashes by using a type with explicit constructors instead of void*.
Created attachment 231223 [details] Patch
Comment on attachment 231223 [details] Patch r=me
(In reply to comment #2) > (From update of attachment 231223 [details]) > r=me Thanks!
cq+? ;)
Comment on attachment 231223 [details] Patch Clearing flags on attachment: 231223 Committed r168642: <http://trac.webkit.org/changeset/168642>
All reviewed patches have been landed. Closing bug.
Re-opened since this is blocked by bug 132839
Created attachment 231401 [details] Patch
(In reply to comment #8) > Created an attachment (id=231401) [details] > Patch Sorry for the inconvenience. Updated patch.
Comment on attachment 231401 [details] Patch Let's give this another go.
(In reply to comment #10) > (From update of attachment 231401 [details]) > Let's give this another go. Thanks :)
Comment on attachment 231401 [details] Patch Clearing flags on attachment: 231401 Committed r168729: <http://trac.webkit.org/changeset/168729>