Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1129)

Unified Diff: Source/core/paint/DeprecatedPaintLayerPainter.cpp

Issue 1299323005: blink: Add backdrop-filter support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: one more Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/paint/DeprecatedPaintLayerPainter.cpp
diff --git a/Source/core/paint/DeprecatedPaintLayerPainter.cpp b/Source/core/paint/DeprecatedPaintLayerPainter.cpp
index 0ab32897c8ccba9a5eb9adc2ca63c1e1b6ff839b..ff9b55003e8d3d6c5b4c7c9a467c487c82625d5b 100644
--- a/Source/core/paint/DeprecatedPaintLayerPainter.cpp
+++ b/Source/core/paint/DeprecatedPaintLayerPainter.cpp
@@ -75,7 +75,7 @@ void DeprecatedPaintLayerPainter::paintLayer(GraphicsContext* context, const Dep
return;
// If this layer is totally invisible then there is nothing to paint.
- if (!m_paintLayer.layoutObject()->opacity())
+ if (!m_paintLayer.layoutObject()->opacity() && !m_paintLayer.layoutObject()->hasBackdropFilter())
return;
if (m_paintLayer.paintsWithTransparency(paintingInfo.globalPaintFlags()))

Powered by Google App Engine
This is Rietveld 408576698