| Index: Source/WebCore/platform/graphics/ShadowBlur.cpp
|
| diff --git a/Source/WebCore/platform/graphics/ShadowBlur.cpp b/Source/WebCore/platform/graphics/ShadowBlur.cpp
|
| index cb806578914245fbca783ac7074a149f692e8317..f13649f24968cf859ed644c761ab521fa6757632 100644
|
| --- a/Source/WebCore/platform/graphics/ShadowBlur.cpp
|
| +++ b/Source/WebCore/platform/graphics/ShadowBlur.cpp
|
| @@ -897,22 +897,4 @@ void ShadowBlur::endShadowLayer(GraphicsContext* context)
|
| ScratchBuffer::shared().scheduleScratchBufferPurge();
|
| }
|
|
|
| -#if PLATFORM(QT)
|
| -bool ShadowBlur::mustUseShadowBlur(GraphicsContext* context) const
|
| -{
|
| - // We can't avoid ShadowBlur, since the shadow has blur.
|
| - if (type() == BlurShadow)
|
| - return true;
|
| - // We can avoid ShadowBlur and optimize, since we're not drawing on a
|
| - // canvas and box shadows are affected by the transformation matrix.
|
| - if (!shadowsIgnoreTransforms())
|
| - return false;
|
| - // We can avoid ShadowBlur, since there are no transformations to apply to the canvas.
|
| - if (context->getCTM().isIdentity())
|
| - return false;
|
| - // Otherwise, no chance avoiding ShadowBlur.
|
| - return true;
|
| -}
|
| -#endif
|
| -
|
| } // namespace WebCore
|
|
|