To start with:
1. Remove some of the unused subroutines
2. Make GetInternalFields less hard-coded (though it will still need some special cases).
3. Make the generated code (mostly) match the WebKit style guide.
Created attachment 49936 [details]
Comment on attachment 49936 [details]
why do you keep removing code? what has it done to you?