GraphicsContext::drawRect always checks and allocates some local variables for the shadow properties. Since most of the cases, we have rectangle drawing without shadow, we should have a faster code path for the common case. Will upload a patch.
Created attachment 49251 [details] patch
Comment on attachment 49251 [details] patch Clearing flags on attachment: 49251 Committed r55148: <http://trac.webkit.org/changeset/55148>
All reviewed patches have been landed. Closing bug.