Index: Source/core/paint/DeprecatedPaintLayer.h |
diff --git a/Source/core/paint/DeprecatedPaintLayer.h b/Source/core/paint/DeprecatedPaintLayer.h |
index 6012bcea544eaadf37272f5cbd5e2ed202d769df..784aef6092eaa73180b7a6c4e86fcb9af71d2fa5 100644 |
--- a/Source/core/paint/DeprecatedPaintLayer.h |
+++ b/Source/core/paint/DeprecatedPaintLayer.h |
@@ -342,7 +342,7 @@ public: |
bool paintsWithTransparency(PaintBehavior paintBehavior) const |
{ |
- return isTransparent() && ((paintBehavior & PaintBehaviorFlattenCompositingLayers) || compositingState() != PaintsIntoOwnBacking); |
+ return isTransparent() && ((gGlobalPaintFlags & GlobalPaintFlattenCompositingLayers) || compositingState() != PaintsIntoOwnBacking); |
} |
bool paintsWithTransform(PaintBehavior) const; |