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

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

Issue 1637143002: Layers that have a backdrop-filter should paints contents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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: third_party/WebKit/Source/core/paint/BoxDecorationData.cpp
diff --git a/third_party/WebKit/Source/core/paint/BoxDecorationData.cpp b/third_party/WebKit/Source/core/paint/BoxDecorationData.cpp
index ef35fb1fffab783a39ddaa21d7c09b690541270b..364531964915a90b581d9441ea04268101f2374d 100644
--- a/third_party/WebKit/Source/core/paint/BoxDecorationData.cpp
+++ b/third_party/WebKit/Source/core/paint/BoxDecorationData.cpp
@@ -15,7 +15,7 @@ namespace blink {
BoxDecorationData::BoxDecorationData(const LayoutBox& layoutBox)
{
backgroundColor = layoutBox.style()->visitedDependentColor(CSSPropertyBackgroundColor);
- hasBackground = backgroundColor.alpha() || layoutBox.style()->hasBackgroundImage();
+ hasBackground = backgroundColor.alpha() || layoutBox.style()->hasBackgroundImageOrBackdropFilter();
ASSERT(hasBackground == layoutBox.style()->hasBackground());
hasBorderDecoration = layoutBox.style()->hasBorderDecoration();
hasAppearance = layoutBox.style()->hasAppearance();

Powered by Google App Engine
This is Rietveld 408576698