summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/qt/TransparencyLayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/graphics/qt/TransparencyLayer.h')
-rw-r--r--WebCore/platform/graphics/qt/TransparencyLayer.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/WebCore/platform/graphics/qt/TransparencyLayer.h b/WebCore/platform/graphics/qt/TransparencyLayer.h
index 1a614ac..6bdfb39 100644
--- a/WebCore/platform/graphics/qt/TransparencyLayer.h
+++ b/WebCore/platform/graphics/qt/TransparencyLayer.h
@@ -61,9 +61,6 @@ struct TransparencyLayer : FastAllocBase {
painter.setFont(p->font());
if (painter.paintEngine()->hasFeature(QPaintEngine::PorterDuff))
painter.setCompositionMode(p->compositionMode());
- // if the path is an empty region, this assignment disables all painting
- if (!p->clipPath().isEmpty())
- painter.setClipPath(p->clipPath());
}
TransparencyLayer()