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]
Comment on attachment 49251 [details]
Clearing flags on attachment: 49251
Committed r55148: <http://trac.webkit.org/changeset/55148>
All reviewed patches have been landed. Closing bug.