Index: Source/core/rendering/RenderLayer.cpp |
diff --git a/Source/core/rendering/RenderLayer.cpp b/Source/core/rendering/RenderLayer.cpp |
index 6c0ea164646c03824f057d169cb1329ea6e755bd..98d4cf123e45155941bb468aea8b1f3a94c757c2 100644 |
--- a/Source/core/rendering/RenderLayer.cpp |
+++ b/Source/core/rendering/RenderLayer.cpp |
@@ -1348,10 +1348,14 @@ void RenderLayer::beginTransparencyLayers(GraphicsContext* context, const Render |
context->save(); |
LayoutRect clipRect = paintingExtent(rootLayer, paintDirtyRect, paintBehavior); |
context->clip(clipRect); |
+ |
if (paintsWithBlendMode()) |
context->setCompositeOperation(context->compositeOperation(), m_blendMode); |
context->beginTransparencyLayer(renderer()->opacity()); |
+ |
+ if (paintsWithBlendMode()) |
+ context->setCompositeOperation(context->compositeOperation(), blink::WebBlendModeNormal); |
#ifdef REVEAL_TRANSPARENCY_LAYERS |
context->setFillColor(Color(0.0f, 0.0f, 0.5f, 0.2f)); |
context->fillRect(clipRect); |