There are some casts sprayed around the code that were needed during the incremental refactoring last weekend.
Created attachment 199373 [details] Patch
Comment on attachment 199373 [details] Patch r=me
Committed r149029: <http://trac.webkit.org/changeset/149029>