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

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

Issue 1327973002: blink: Layers that have a backdrop-filter paints contents Base URL: https://chromium.googlesource.com/chromium/blink.git@wk-bf
Patch Set: and make assert match expectations Created 5 years, 3 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/BoxDecorationData.cpp
diff --git a/Source/core/paint/BoxDecorationData.cpp b/Source/core/paint/BoxDecorationData.cpp
index abfb4c9031520ff4ad0ed2b73bd9e17caf6b4e0a..39310da0a31820bb37f8e1567e8b102dfe7da3b4 100644
--- a/Source/core/paint/BoxDecorationData.cpp
+++ b/Source/core/paint/BoxDecorationData.cpp
@@ -16,7 +16,7 @@ namespace blink {
BoxDecorationData::BoxDecorationData(const LayoutBox& layoutBox)
{
backgroundColor = layoutBox.style()->visitedDependentColor(CSSPropertyBackgroundColor);
- hasBackground = backgroundColor.alpha() || layoutBox.style()->hasBackgroundImage();
+ hasBackground = backgroundColor.alpha() || layoutBox.style()->hasBackgroundImage() || layoutBox.style()->hasBackdropFilter();
ASSERT(hasBackground == layoutBox.style()->hasBackground());
hasBorderDecoration = layoutBox.style()->hasBorderDecoration();
hasAppearance = layoutBox.style()->hasAppearance();

Powered by Google App Engine
This is Rietveld 408576698