| Index: third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
|
| index 18d5d0ad0ed5dbf9f8bf0312067f0a7ce6c9e8ec..f17b74bd6caa929c5e1c6bad7cd8a125adc0a391 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
|
| @@ -390,14 +390,9 @@ PaintResult PaintLayerPainter::paintLayerContents(
|
| }
|
|
|
| Optional<CompositingRecorder> compositingRecorder;
|
| - // Blending operations must be performed only with the nearest ancestor
|
| - // stacking context. Note that there is no need to composite if we're
|
| - // painting the root.
|
| // FIXME: this should be unified further into
|
| // PaintLayer::paintsWithTransparency().
|
| bool shouldCompositeForBlendMode =
|
| - (!m_paintLayer.layoutObject()->isDocumentElement() ||
|
| - m_paintLayer.layoutObject()->isSVGRoot()) &&
|
| m_paintLayer.stackingNode()->isStackingContext() &&
|
| m_paintLayer.hasNonIsolatedDescendantWithBlendMode();
|
| if (shouldCompositeForBlendMode ||
|
|
|