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

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: check for backdrop filter in more places 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..2edd2cb85eef8125f619737864984767954d8f0b 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()->hasBackgroundImageOrBackdropFilter();
ASSERT(hasBackground == layoutBox.style()->hasBackground());
hasBorderDecoration = layoutBox.style()->hasBorderDecoration();
hasAppearance = layoutBox.style()->hasAppearance();
« no previous file with comments | « Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp ('k') | Source/core/style/ComputedStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698