Convert a couple of loops over to range-based for
Created attachment 232083 [details] Patch
Committed r169353: <http://trac.webkit.org/changeset/169353>