It looks like the problem in this case is a missing include, which has the OwnPtr specialization for cairo paths.
Created attachment 68379 [details] Patch for this issue
Comment on attachment 68379 [details] Patch for this issue r=me
Committed r68050: <http://trac.webkit.org/changeset/68050>