The current implementation of Path::addPathForRoundedRect() is a bit confusing and redundant if (preferBezier) { bezier(); return; } #if CG || BLACKBERRY native(); #else bezier(); #fi I would suggest something like #if CG || BLACKBERRY if (preferNative) { native(); return; } #endif bezier();
Created attachment 202891 [details] Patch Here's the patch. The only reason why I put the #ifdef inside the if() block is to avoid a "unused parameter: strategy" warning.
Comment on attachment 202891 [details] Patch Clearing flags on attachment: 202891 Committed r150696: <http://trac.webkit.org/changeset/150696>
All reviewed patches have been landed. Closing bug.