-
commit-queue@webkit.org authored
Reviewed by Simon Fraser. Optimize filling rounded rects that are actually ellipses https://bugs.webkit.org/show_bug.cgi?id=58098 In CG, drawing an ellipse directly is faster than constructing and filling a rounded rect path. Detect when the given rounded rect is actually an ellipse and draw it directly in this case. * platform/graphics/cg/GraphicsContextCG.cpp: (WebCore::GraphicsContext::fillRoundedRect): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
c0295d8f