C++ and switch statements for the win.
Created attachment 264993 [details]
work in progress
Created attachment 264996 [details]
Attachment 264996 [details] did not pass style-queue:
Total errors found: 2 in 2 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 264996 [details]
Landed in http://trac.webkit.org/changeset/192135