Convert to layout types.
Created attachment 99002 [details] Patch
Committed r89983: <http://trac.webkit.org/changeset/89983>