Simplify the WebKitLegacy menu conversion code
Created attachment 263936 [details] Patch
Committed r191512: <http://trac.webkit.org/changeset/191512>