Make Path::apply() take a function reference
Created attachment 257872 [details] Patch
https://trac.webkit.org/r187621