-
simon.fraser@apple.com authored
Reviewed by Ariya Hidayat. Enhance ShadowBlur to render inset box shadows; Part 1. https://bugs.webkit.org/show_bug.cgi?id=51567 Add a new method to GraphicsContext to render a rect with a rounded hole, for use by inset box-shadow code. Knowledge that we're rendering a rounded hole will enable ShadowBlur to be used here in future. * platform/graphics/GraphicsContext.cpp: (WebCore::GraphicsContext::fillRectWithRoundedHole): * platform/graphics/GraphicsContext.h: * rendering/RenderBoxModelObject.cpp: (WebCore::RenderBoxModelObject::paintBoxShadow): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77106 268f45cc-cd09-0410-ab3c-d52691b4dbfc
33875137